Handling of 32 and 128 bit uuids for BLE #6811
Replies: 1 comment
-
Posted at 2018-02-15 by @gfwilliams Yes, it's a bit weird. In the 128 bit case, the majority of the UUID is stored elsewhere with Then the It seems to be side-effect of the softdevice... So either you could implement something similar in ESP32-land, or I guess we could have something more general than Posted at 2018-02-16 by JumJum hmmm, I could implement something similiar. But IMHO, the word weird woule be a good description for that. Could it be an option for a first step to add a uuid128 field to ble_uuid_t(bluetooth.h) for non NRF52 boards ? Posted at 2018-02-16 by @gfwilliams
Yes, that sounds like a much better idea! I guess you could just make I'm not sure if that'd cause any problems down the line, but probably not that many... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-02-15 by JumJum
I've some problems in understanding handling of uuids in Espruino.
AFAIK, ble_uuid_t is used to work with uuids
ble_uuid_t.uuid is a 16 bit value only, and type can be unknown, 16 bit and 128 bit
What happens with the full uuid for 128 bit ?
For ESP32 we have a struct , which supports 16/32/128 bit uuids
In actual port for ESP32 only 16 bit is supported. This was fine for first steps into the new world, but should not be the end of the story.
Any recommendation, how we get this together ?
Beta Was this translation helpful? Give feedback.
All reactions