You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to set the following descriptors fails on the second descriptor. This approach works flawlessly on Linux, assuming something is getting lost in translation for the second descriptors arraybuffer
descriptors: [newDescriptor({uuid: '2901',value: Buffer.from('Volume','utf8')}),newDescriptor({uuid: '2904',// https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.descriptor.gatt.characteristic_presentation_format.xmlvalue: newBuffer([0x04,// Uint8 0-255 value is allowed (numeric keypad)0x00,// no exponent (value === value)0x27,0x25,// https://www.bluetooth.com/specifications/assigned-numbers/units joules (energy)0x01,// Bluetooth SIG Assigned Numbers0x00,// No description0x00])})]
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Expecting NSData value type for Format descriptor'
The text was updated successfully, but these errors were encountered:
Attempting to set the following descriptors fails on the second descriptor. This approach works flawlessly on Linux, assuming something is getting lost in translation for the second descriptors arraybuffer
The text was updated successfully, but these errors were encountered: