Skip to content

Commit b3a8228

Browse files
committed
Add mention to Call characteristic (which was missing in the doc) and change the UUID of the new Motion service from 00020000-* to 00030000-*.
1 parent 2c5015a commit b3a8228

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

doc/ble.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,14 @@ The following custom services are implemented in InfiniTime:
3434

3535
- Since InfiniTime 0.11:
3636
* [Navigation Service](NavigationService.md) : 00010000-78fc-48fe-8e23-433b3a1942d0
37+
38+
39+
- Since InfiniTime 0.13
40+
* Call characteristic (extension to the Alert Notification Service): 00020001-78fc-48fe-8e23-433b3a1942d0
3741

3842

3943
- Since InfiniTime 1.7:
40-
* [Motion Service](MotionService.md) : 00020000-78fc-48fe-8e23-433b3a1942d0
44+
* [Motion Service](MotionService.md) : 00030000-78fc-48fe-8e23-433b3a1942d0
4145

4246
## BLE services
4347
[List of standard BLE services](https://www.bluetooth.com/specifications/gatt/services/)

src/components/ble/MotionService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace {
99
constexpr ble_uuid128_t CharUuid(uint8_t x, uint8_t y) {
1010
return ble_uuid128_t{
1111
.u = {.type = BLE_UUID_TYPE_128},
12-
.value = { 0xd0, 0x42, 0x19, 0x3a, 0x3b, 0x43, 0x23, 0x8e, 0xfe, 0x48, 0xfc, 0x78, x, y, 0x02, 0x00 }
12+
.value = { 0xd0, 0x42, 0x19, 0x3a, 0x3b, 0x43, 0x23, 0x8e, 0xfe, 0x48, 0xfc, 0x78, x, y, 0x03, 0x00 }
1313
};
1414
}
1515

0 commit comments

Comments
 (0)