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

Is the FTMS uuid check correct? #11

Closed
juaoose opened this issue Mar 21, 2024 · 2 comments
Closed

Is the FTMS uuid check correct? #11

juaoose opened this issue Mar 21, 2024 · 2 comments

Comments

@juaoose
Copy link

juaoose commented Mar 21, 2024

Hello there,

I must say I am very new to FTMS.

I was playing with the library and tried to connect to a FTMS cycling smart trainer, however, whenever checking if the device is FTMS device, it never looked to pass the check.

I found that the check was very particular, should this device pass this test and be considered an FTMS device?
image

@juaoose
Copy link
Author

juaoose commented Mar 21, 2024

Moving ahead, it looks like getDeviceDataTypeByBluetoothId expects a string with a MAC address format? However, on iOS, the bluetooth library seems to return a UUID instead of that, so the method fails :(

Would it make sense , considering these iOS limitations, to use the characteristics to define what kind of device it is? For example, my device seems to have the 00002ad2 characteristic.

@Malte2036
Copy link
Owner

Thanks for pointing out this strange behavior. I should be fixed with #12. Let me know if its works now 👍

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

No branches or pull requests

2 participants