adafruit / Adafruit_CircuitPython_BLE

Bluetooth Low Energy (BLE) library for CircuitPython
MIT License
124 stars 57 forks source link

512 is max length for variable length Characteristics, not fixed #81

Closed dhalbert closed 4 years ago

dhalbert commented 4 years ago

I got this backwards initially: variable-length characteristics can have up to 512 bytes of data. Fixed length can have up to 510 bytes, on nRF. See https://devzone.nordicsemi.com/f/nordic-q-a/12823/maximum-fixed-length-attribute-length-vs-maximum-variable-length-attribute-length.