TorstenRobitzki / bluetoe

C++ Framework to build Bluetooth LE Server (GATT)
MIT License
142 stars 29 forks source link

L2CAP fragmentation doesn't use the full allowed PDU size #80

Open TorstenRobitzki opened 2 years ago

TorstenRobitzki commented 2 years ago

Currently, when using the nrf52 binding with encryption, while doing a DH public key exchange, only 26 bytes of the PDU are used. The length of the 3 PDUs is 26, 26, and 17. It has to be 27, 27, and 15.