Hiya,
There’s a very useful example here of the firmware for a health thermometer…
The BLE UUID is defined like this
// The "Health Thermometer" service is 0x1809.
// See https://www.bluetooth.com/specifications/gatt/services/
BleUuid healthThermometerService(BLE_SIG_UUID_HEALTH_THERMONETER_SVC);
What I’d love to know is where these values like “BLE_SIG_UUID_HEALTH_THERMONETER_SVC” are defined, is it in the device OS? Are they listed somewhere? I don’t think that it could be based on the GATT definitions because this one includes a typo “Thermoneter” that isn’t used anywhere on the GATT website and if you correct the typo the value isn’t recognised.
I’m sure I could use the assigned numbers, but I thought that an answer to this question would improve particle’s documentation for other developers.
Thanks!