This repository has been archived by the owner on May 18, 2022. It is now read-only.
Only reply to LL_VERSION_IND once #49
Labels
area: link layer
Code Area: BLE Link Layer (establishing and maintaining connections, encryption, etc)
good first issue
Call for participation: Good for newcomers
status: needs code
An implementation or a bugfix need to be written
type: bug
Something isn't behaving as intended
Either master or slave may send the
LL_VERSION_IND
LL Control PDU, and both will respond to it. According to the spec, you're supposed to keep track of whether you've already sent this and ignore the PDU in that case. We currently rely on the master to implement this correctly, since we'd otherwise end up in an endless loop.To fix this, we need to add another
bool
to the real-timeLinkLayer
state to track whether we've sent this already. Eventually we should collapse all thebool
flags into a single byte storing them as bitflags.The text was updated successfully, but these errors were encountered: