TorstenRobitzki / bluetoe

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

[nrf52]First connection event is missed with Window Offset of 0 #98

Closed TorstenRobitzki closed 1 year ago

TorstenRobitzki commented 2 years ago

If the CONNECT_IND is send by the link layer master with a Window Offset of 0, Bluetoe misses the first connection event.

If nRF Connect for Desktop is used as Central, a CONNECT_IND is send with a Window Size of 6.25ms and a Window Offset of 0. Maybe, Bluetoe calculates a Start of the Window and the radio sees that start to be in the past?

TorstenRobitzki commented 2 years ago

This seems to be just a problem with channel 38 and 39. In a trial with 9 connection attempts, all but 2 missed the first connection event. There where two attempts at channel 37, which did not missed the first connection event.

The first PDU was send by the master at the beginning of the window (at 1250µs).

TorstenRobitzki commented 1 year ago

Has been fixed with #100