Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Services are not discoverable #20
Thank you for your awesome project.
My developing environment is:
I wrote a node.js test code with 2 services but these services are not discoverable like this screen shot :
(pi-parkboo is my rpi's name)
I think my dongle works correctly because when I wrote a very simple BLE advertising code with C it works perfectly and BLE scanner can catch there are services.
My code snippet is : https://gist.github.com/parkboo/7277ccda610323a95027
Maybe it's because you ask to advertise a service uuid 1112 :
And you don't declare it anywhere. The two services you declare are '180a' and '01010101010101010101010101010101'...
Try to replace the code above by :
And I'm not sure you can use the same characteristic instance in two different services, but maybe I'm wrong...
Hope it helps ;)