Open 3em0 opened 2 years ago
wib_rx_status
and wib_rx_log
are MMIO to registers of the BLE modem. Since this project is based on reverse engineering, most of it relies on using registers similarly to the original firmware or analyzing register contents during runtime.
According to documentation Malte, who spent some time on reversing this firmware, the register meanings are as follows:
wib_rx_status
: The PDU header of received packets.wib_pkt_log
: Reception status register. The RX
fields are related to the synchronization of the received preamble and determine a successful reception. The C
bit shows a correct CRC. The P
bit indicates the detection of the preamble LE2M PHY. The Conn
bits are used in the connection state for decisions relating to the next transmissions, but their exact usage is not understood.Hope that helps in whatever you're trying to do with the modem :)
Sorry to bother you, what's the relationship between the ACL Data header and the pkt_hdr_status/pkt_hdr_log in the code ? Is it the same as BLE data hdr? thank you !
Hi, you are doing a good job! However, I have some questions. what's the relationship between the Ble Data header and the wib_rx_status/wib_rx_log in the code?