Advertising custom UUID #7586
Replies: 1 comment
-
Posted at 2017-07-10 by @gfwilliams Ahh - that was actually a mistake in the documentation that has already been fixed (the new docs will update when 1v93 is released). If you specify a 128 bit UUID as a string then it should work fine - the only gotcha is the lack of space in the advertising packet... with a 128 bit UUID there's not much space for data! Posted at 2017-07-10 by jamesh Perfect :) and yeah that is a challenge too. My plan for that was to return the custom UUID data in the In the meantime, any tools or references I can look at to help me build a scan response payload? e.g. if I wanted to advertise a custom service UUID with some data Posted at 2017-07-10 by @gfwilliams You could check out this function: https://github.com/espruino/Espruino/blob/master/libs/bluetooth/jswrap_bluetooth.c#L708 I'll try and release 1v93 soon, which should have it in (or you can use the travis builds at http://www.espruino.com/binaries/travis/master). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-07-07 by jamesh
I see in the docs it mentions there is currently no support for custom UUIDs in
setAdvertising
, any idea if or when you see this coming?Bit of a limitation for me at the moment as I would like to advertising some custom data without having to connect.
Beta Was this translation helpful? Give feedback.
All reactions