TorstenRobitzki / bluetoe

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

LESC Pairing will fail if negotiated ATT MTU is less than 65 bytes #67

Closed TorstenRobitzki closed 2 years ago

TorstenRobitzki commented 2 years ago

The security manager gets a buffer to reply to a public key exchange that is generally allocated with a size equal to the negotiated ATT MTU size. If no negotiation happened, the default is 23 and thus, pairing will fail.