|
|
@ -5,7 +5,7 @@
|
|
|
|
using namespace Pinetime::Controllers;
|
|
|
|
using namespace Pinetime::Controllers;
|
|
|
|
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
namespace {
|
|
|
|
// 0002yyxx-78fc-48fe-8e23-433b3a1942d0
|
|
|
|
// 0003yyxx-78fc-48fe-8e23-433b3a1942d0
|
|
|
|
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},
|
|
|
@ -13,7 +13,7 @@ namespace {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 00020000-78fc-48fe-8e23-433b3a1942d0
|
|
|
|
// 00030000-78fc-48fe-8e23-433b3a1942d0
|
|
|
|
constexpr ble_uuid128_t BaseUuid() {
|
|
|
|
constexpr ble_uuid128_t BaseUuid() {
|
|
|
|
return CharUuid(0x00, 0x00);
|
|
|
|
return CharUuid(0x00, 0x00);
|
|
|
|
}
|
|
|
|
}
|
|
|
|