TorstenRobitzki / bluetoe

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

Link Layer race condition? #10

Closed TorstenRobitzki closed 6 years ago

TorstenRobitzki commented 8 years ago

while testing a bootloader example, there was a situation, where the ATT_write_request and ATT_write_reponse suddenly started to take place in a single connection event. The error code at the end of last ATT_write_request was 0x83 which is buffer_overrun_attempt on the application layer and indicates that the bootloader received more data the what was send from the bootloader client.

repeated_link_layer_pdus.pcapng.zip

TorstenRobitzki commented 6 years ago

Reworking the nrf51/52 link layer seems to fix this.