1
0
Fork 0

Add mention to Call characteristic (which was missing in the doc) and change the UUID of the new Motion service from 00020000-* to 00030000-*.

This commit is contained in:
Jean-François Milants 2021-10-20 20:52:04 +02:00
parent 2c5015add7
commit b3a8228899
2 changed files with 6 additions and 2 deletions

View file

@ -36,8 +36,12 @@ The following custom services are implemented in InfiniTime:
* [Navigation Service](NavigationService.md) : 00010000-78fc-48fe-8e23-433b3a1942d0 * [Navigation Service](NavigationService.md) : 00010000-78fc-48fe-8e23-433b3a1942d0
- Since InfiniTime 0.13
* Call characteristic (extension to the Alert Notification Service): 00020001-78fc-48fe-8e23-433b3a1942d0
- Since InfiniTime 1.7: - Since InfiniTime 1.7:
* [Motion Service](MotionService.md) : 00020000-78fc-48fe-8e23-433b3a1942d0 * [Motion Service](MotionService.md) : 00030000-78fc-48fe-8e23-433b3a1942d0
## BLE services ## BLE services
[List of standard BLE services](https://www.bluetooth.com/specifications/gatt/services/) [List of standard BLE services](https://www.bluetooth.com/specifications/gatt/services/)

View file

@ -9,7 +9,7 @@ namespace {
constexpr ble_uuid128_t CharUuid(uint8_t x, uint8_t y) { constexpr ble_uuid128_t CharUuid(uint8_t x, uint8_t y) {
return ble_uuid128_t{ return ble_uuid128_t{
.u = {.type = BLE_UUID_TYPE_128}, .u = {.type = BLE_UUID_TYPE_128},
.value = { 0xd0, 0x42, 0x19, 0x3a, 0x3b, 0x43, 0x23, 0x8e, 0xfe, 0x48, 0xfc, 0x78, x, y, 0x02, 0x00 } .value = { 0xd0, 0x42, 0x19, 0x3a, 0x3b, 0x43, 0x23, 0x8e, 0xfe, 0x48, 0xfc, 0x78, x, y, 0x03, 0x00 }
}; };
} }