btadv: fix long uuid (characteristic)

pull/2912/head
Rob Pilling 2023-07-31 21:35:11 +01:00
parent 19c0a9af08
commit b61e4fb137
2 changed files with 3 additions and 3 deletions

View File

@ -352,13 +352,13 @@ var _a;
case "E95D0753251D470AA062FA1922DFA9A8": {
var o = {};
if (acc_1 || initial) {
o["0xE95DCA4B251D470AA062FA1922DFA9A8"] = {
o["E95DCA4B251D470AA062FA1922DFA9A8"] = {
maxLen: encodeAcc_1.maxLen,
readable: true,
notify: true,
};
if (acc_1) {
o["0xE95DCA4B251D470AA062FA1922DFA9A8"].value = encodeAcc_1(acc_1);
o["E95DCA4B251D470AA062FA1922DFA9A8"].value = encodeAcc_1(acc_1);
acc_1 = undefined;
}
}

View File

@ -80,7 +80,7 @@ const enum BleChar {
// org.microbit.characteristic.accelerometer_data
// s16 x3, -1024 .. 1024
// docs: https://lancaster-university.github.io/microbit-docs/ble/accelerometer-service/
Acc = "0xE95DCA4B251D470AA062FA1922DFA9A8",
Acc = "E95DCA4B251D470AA062FA1922DFA9A8",
}
type BleCharAdvert = {