I can't get Thingy to provide a GATT service. After reading everything I could find online, I still have no idea what I could be doing wrong.
Advertising work fine, I can see the 0x180D service in the advertisement (I'm using NRFconnect on iOS to check, but have the same effect with other tools as well).
But when I connect only the standard UART RX and TX services are visible. Nothing else.
The code below is taken from another stream and appeared to work on a Ruuvitag. (I've tried various versions, but without any change in effect).
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.
I can't get Thingy to provide a GATT service. After reading everything I could find online, I still have no idea what I could be doing wrong.
Advertising work fine, I can see the 0x180D service in the advertisement (I'm using NRFconnect on iOS to check, but have the same effect with other tools as well).
But when I connect only the standard UART RX and TX services are visible. Nothing else.
The code below is taken from another stream and appeared to work on a Ruuvitag. (I've tried various versions, but without any change in effect).
The LED toggles just fine, so obviously the function gets called.
And, yes, I do disconnect the Web Bluetooth IDE from Thingy before I check the services.
Any help would be much appreciated!
Thanks,
Bernd