Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Fix detection of devices via Service UUID (CircuitCubes, WeDo2) #138

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vicocz
Copy link
Contributor

@vicocz vicocz commented Jan 10, 2025

Added processing of 0x06 advertisment data type so as devices such as CircuitCubes and WeDo2 are properly discovered by scanning.
Additionally there seemed to be issue with characteristics writes on iOS for Circuit Cubes:

  • no batery level was read
  • no output was applied for a channel

Obviously iOS is sensitive if write type does not match the one defined by a characteristic being written. So changed to WriteNoResponseAsync and it seems to be working on iOS, Android and Windows.

Resolves: #134
Seems to be related to #114 as well.

@vicocz vicocz changed the title [iOS] Fix detection of devices via their Service UUID (CircuitCubes, WeDo2) [iOS] Fix detection of devices via Service UUID (CircuitCubes, WeDo2) Jan 10, 2025
@vicocz vicocz marked this pull request as ready for review January 10, 2025 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Circuit Cube iOS support
1 participant