So I am reading this guide: https://novelbits.io/deep-dive-ble-packets-events/ .
There the structure is explained as follows:
PDU Header Format
But I do not understand, why 0x46 means the PDU Type is 0110. So here you are reading it from right to left, but why is the length 0x1C then not read the same way? The length is just normally converted into the decimal value.
I am asking, since I am trying to decode some LL Data myself. Namely this here:
0f 09 09 fd fd 81 07 00 00 00 00
If I do it as described above, 0x0f -> 0b00001111 and then the last four bits 1111 would describe the PDU Type, but such a type does not exist.
However, the payload length is described correctly by 0x09.
What am I missing? I am really lost right now and do not know how to understand this LL Data I have there.
Thanks in Advance!
I am trying to understand LL Data, namely the Header of a PDU.
Ludwig is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.