Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some questions about the project #9

Open
3em0 opened this issue Apr 21, 2022 · 2 comments
Open

some questions about the project #9

3em0 opened this issue Apr 21, 2022 · 2 comments

Comments

@3em0
Copy link

3em0 commented Apr 21, 2022

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?

@jiska2342
Copy link
Member

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.

image

Hope that helps in whatever you're trying to do with the modem :)

@Wi1L-Y
Copy link

Wi1L-Y commented May 22, 2022

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants