Open
Conversation
This commit introduces functionality to detect and handle Joy-Con 2 devices in the Bluetooth firmware. It includes manufacturer ID checks, GATT characteristic discovery, and IMU sensor enabling commands. Additionally, a stub for report decoding is added, with logging for detected devices and commands sent. This enhancement allows for better integration and handling of Joy-Con 2 controllers.
This commit enhances the Bluetooth firmware by implementing storage for device information per connection, specifically for Joy-Con 2 devices. It includes logic for handling GATT discovery, enabling sensors, and decoding reports. The changes improve the integration and functionality of Joy-Con 2 controllers, ensuring proper management of connections and report processing.
This commit improves the Joy-Con 2 device detection by streamlining the manufacturer data parsing and enhancing the UUID patching process. The changes include a more efficient loop for processing advertisement data and a clearer assignment of UUID values, which enhances readability and maintainability of the code. Additionally, the return logic in the report sending function is updated for better clarity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.