Created
November 24, 2021 05:24
-
-
Save jamesmontemagno/954949dc1e78ac482d1e6fe0988dee44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Tue Nov 23 21:17:42 on ttys001 | |
motz@motzs-air zwack % npm run simulator -- --variable=ftms | |
> zwack@0.1.6 simulator | |
> node ./example/simulator.js "--variable=ftms" | |
2021-11-23 21:18:14.958 node[20703:712691] BlenoMac::Init | |
2021-11-23 21:18:14.959 node[20703:712691] -[BLEPeripheralManager init] | |
[ZWack] Faking test data for sensor: Zwack | |
[ZWack] Advertising these services: ftms | |
List of Available Keys | |
c/C - Decrease/Increase cycling cadence | |
p/P - Decrease/Increase cycling power | |
s/S - Decrease/Increase running speed | |
d/D - Decrease/Increase running cadence | |
r/R - Decrease/Increase parameter variability | |
i/I - Decrease/Increase parameter increment | |
x/q - Exit | |
BLE Sensor parameters: | |
Cycling: | |
Cadence: 90 RPM | |
Power: 100 W | |
Speed: 18 km/h | |
Running: | |
Speed: 10 m/h, Pace: 06:00 min/mi | |
Cadence: 180 steps/min | |
Randomness: 5 | |
Increment: 10 | |
(node:20703) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. | |
(Use `node --trace-deprecation ...` to show where the warning was created) | |
2021-11-23 21:18:14.980 node[20703:712699] CoreBluetooth BLE hardware is powered on and ready. | |
2021-11-23 21:18:14.980 node[20703:712691] BlenoMac::StartAdvertising | |
2021-11-23 21:18:14.980 node[20703:712691] startAdvertising:Zwack serviceUUIDs:( | |
"Device Information", | |
1826 | |
) | |
2021-11-23 21:18:14.980 node[20703:712699] peripheralManagerDidStartAdvertising: <CBPeripheralManager: 0x600002cb0000> | |
2021-11-23 21:18:14.980 node[20703:712691] BlenoMac::SetServices | |
2021-11-23 21:18:14.980 node[20703:712691] napiArrayToCBMutableServices | |
2021-11-23 21:18:14.980 node[20703:712691] napiToCBMutableService | |
2021-11-23 21:18:14.980 node[20703:712691] napiArrayToCBMutableService: uuid:180A | |
2021-11-23 21:18:14.980 node[20703:712691] napiArrayToCBMutableCharacteristics | |
2021-11-23 21:18:14.980 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A23 | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 1, bytes = 0x30} | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2901 value:System Id | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A24 | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 6, bytes = 0x5a572d313031} | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2901 value:Model Number | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A25 | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 1, bytes = 0x31} | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2901 value:Serial Number | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A26 | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 3, bytes = 0x302e31} | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2901 value:Firmware Revision | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A27 | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 3, bytes = 0x302e31} | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2901 value:Hardware Revision | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A28 | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 3, bytes = 0x302e31} | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2901 value:Software Revision | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A29 | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 14, bytes = 0x41636d65205a7761636b20496e63} | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2901 value:Manufacturer Name | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableService | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBMutableService: uuid:1818 | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBMutableCharacteristics | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A63 | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: value:(null) | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2901 value:Cycling Power Measurement | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2902 value: | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBDescriptor uuid:2903 value: | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: cUUID:A026E005-0A7D-4AB3-97FA-F1500F9FEB8B | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBMutableCharacteristic: value:(null) | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.981 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.981 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Cycling Power Wahoo Extension | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A65 | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 4, bytes = 0x08000000} | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Cycling Power Feature | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A5D | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 1, bytes = 0x0d} | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Sensor Location | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableService | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBMutableService: uuid:1814 | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBMutableCharacteristics | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A53 | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:(null) | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Running Speed And Cadence | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2902 value: | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A54 | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 4, bytes = 0x00000000} | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:RSC Feature | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2A5D | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:{length = 1, bytes = 0x00} | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Sensor Location | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableService | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBMutableService: uuid:1826 | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBMutableCharacteristics | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2ACC | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:(null) | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Fitness Machine Feature | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2AD2 | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:(null) | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Indoor Bike Data | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2ADA | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:(null) | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Fitness Machine Status | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2AD9 | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:(null) | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Fitness Machine Control Point | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: cUUID:2AD8 | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBMutableCharacteristic: value:(null) | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBCharacteristicProperties | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBAttributePermissions | |
2021-11-23 21:18:14.982 node[20703:712691] napiArrayToCBDescriptors | |
2021-11-23 21:18:14.982 node[20703:712691] napiToCBDescriptor uuid:2901 value:Supported Power Range | |
2021-11-23 21:18:14.983 node[20703:712691] napiArrayToUUIDEmitters | |
2021-11-23 21:18:14.983 node[20703:712699] peripheralManagerDidAddService: <CBMutableService: 0x6000038b20d0 Primary = YES, UUID = Device Information, Included Services = (null), Characteristics = ( | |
"<CBMutableCharacteristic: 0x6000030b4930 UUID = System ID, Value = {length = 1, bytes = 0x30}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebedc0 UUID = Characteristic User Description, Value = System Id>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b4e00 UUID = Model Number String, Value = {length = 6, bytes = 0x5a572d313031}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebe8c0 UUID = Characteristic User Description, Value = Model Number>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b5030 UUID = Serial Number String, Value = {length = 1, bytes = 0x31}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebef40 UUID = Characteristic User Description, Value = Serial Number>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b5260 UUID = Firmware Revision String, Value = {length = 3, bytes = 0x302e31}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebed40 UUID = Characteristic User Description, Value = Firmware Revision>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b5490 UUID = Hardware Revision String, Value = {length = 3, bytes = 0x302e31}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebde40 UUID = Characteristic User Description, Value = Hardware Revision>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b57a0 UUID = Software Revision String, Value = {length = 3, bytes = 0x302e31}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebf740 UUID = Characteristic User Description, Value = Software Revision>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b59d0 UUID = Manufacturer Name String, Value = {length = 14, bytes = 0x41636d65205a7761636b20496e63}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebe3c0 UUID = Characteristic User Description, Value = Manufacturer Name>\"\n), SubscribedCentrals = (\n)>" | |
)> Error Domain=CBErrorDomain Code=8 "The specified UUID is not allowed for this operation." UserInfo={NSLocalizedDescription=The specified UUID is not allowed for this operation.} | |
2021-11-23 21:18:14.983 node[20703:712699] Error publishing service: The specified UUID is not allowed for this operation. | |
2021-11-23 21:18:14.983 node[20703:712699] peripheralManagerDidAddService: <CBMutableService: 0x6000038b2350 Primary = YES, UUID = 1818, Included Services = (null), Characteristics = ( | |
"<CBMutableCharacteristic: 0x6000030b5c70 UUID = 2A63, Value = (null), Properties = 0x10, Permissions = 0x0, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebf440 UUID = Characteristic User Description, Value = Cycling Power Measurement>\",\n \"<CBMutableDescriptor: 0x600000ebe840 UUID = Client Characteristic Configuration, Value = >\",\n \"<CBMutableDescriptor: 0x600000ebf980 UUID = Server Characteristic Configuration, Value = >\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b63e0 UUID = A026E005-0A7D-4AB3-97FA-F1500F9FEB8B, Value = (null), Properties = 0x8, Permissions = 0x2, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebf080 UUID = Characteristic User Description, Value = Cycling Power Wahoo Extension>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b6530 UUID = 2A65, Value = {length = 4, bytes = 0x08000000}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebfb80 UUID = Characteristic User Description, Value = Cycling Power Feature>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b6760 UUID = 2A5D, Value = {length = 1, bytes = 0x0d}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebfd40 UUID = Characteristic User Description, Value = Sensor Location>\"\n), SubscribedCentrals = (\n)>" | |
)> Error Domain=CBErrorDomain Code=1 "One or more parameters were invalid." UserInfo={NSLocalizedDescription=One or more parameters were invalid.} | |
2021-11-23 21:18:14.983 node[20703:712699] Error publishing service: One or more parameters were invalid. | |
2021-11-23 21:18:14.983 node[20703:712699] peripheralManagerDidAddService: <CBMutableService: 0x6000038b23a0 Primary = YES, UUID = 1814, Included Services = (null), Characteristics = ( | |
"<CBMutableCharacteristic: 0x6000030b6a00 UUID = 2A53, Value = (null), Properties = 0x10, Permissions = 0x0, Descriptors = (\n \"<CBMutableDescriptor: 0x600000ebfec0 UUID = Characteristic User Description, Value = Running Speed And Cadence>\",\n \"<CBMutableDescriptor: 0x600000ebff80 UUID = Client Characteristic Configuration, Value = >\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b6ed0 UUID = 2A54, Value = {length = 4, bytes = 0x00000000}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000eb40c0 UUID = Characteristic User Description, Value = RSC Feature>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b7100 UUID = 2A5D, Value = {length = 1, bytes = 0x00}, Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000eb4300 UUID = Characteristic User Description, Value = Sensor Location>\"\n), SubscribedCentrals = (\n)>" | |
)> Error Domain=CBErrorDomain Code=1 "One or more parameters were invalid." UserInfo={NSLocalizedDescription=One or more parameters were invalid.} | |
2021-11-23 21:18:14.983 node[20703:712699] Error publishing service: One or more parameters were invalid. | |
2021-11-23 21:18:14.984 node[20703:712699] peripheralManagerDidAddService: <CBMutableService: 0x6000038b23f0 Primary = YES, UUID = 1826, Included Services = (null), Characteristics = ( | |
"<CBMutableCharacteristic: 0x6000030b73a0 UUID = 2ACC, Value = (null), Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000eb4480 UUID = Characteristic User Description, Value = Fitness Machine Feature>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b75d0 UUID = 2AD2, Value = (null), Properties = 0x10, Permissions = 0x0, Descriptors = (\n \"<CBMutableDescriptor: 0x600000eb45c0 UUID = Characteristic User Description, Value = Indoor Bike Data>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b7800 UUID = 2ADA, Value = (null), Properties = 0x10, Permissions = 0x0, Descriptors = (\n \"<CBMutableDescriptor: 0x600000eb4700 UUID = Characteristic User Description, Value = Fitness Machine Status>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b7a30 UUID = 2AD9, Value = (null), Properties = 0x28, Permissions = 0x2, Descriptors = (\n \"<CBMutableDescriptor: 0x600000eb4880 UUID = Characteristic User Description, Value = Fitness Machine Control Point>\"\n), SubscribedCentrals = (\n)>", | |
"<CBMutableCharacteristic: 0x6000030b7c60 UUID = 2AD8, Value = (null), Properties = 0x2, Permissions = 0x1, Descriptors = (\n \"<CBMutableDescriptor: 0x600000eb49c0 UUID = Characteristic User Description, Value = Supported Power Range>\"\n), SubscribedCentrals = (\n)>" | |
)> (null) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment