Could it be an option for a first step to add a uuid128 field to ble_uuid_t(bluetooth.h) for non NRF52 boards ?
Yes, that sounds like a much better idea! I guess you could just make uuid a 16 byte array, and use type to decide if it was 128 bit or if just the first 2 bytes of it were used?
I'm not sure if that'd cause any problems down the line, but probably not that many...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, that sounds like a much better idea! I guess you could just make
uuid
a 16 byte array, and usetype
to decide if it was 128 bit or if just the first 2 bytes of it were used?I'm not sure if that'd cause any problems down the line, but probably not that many...