You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thanks for providing this great library. I've however run into a problem with it. When constructing a ACL Packet you use the following code:
When looking at the HCI ACL Spec the handle is 12 bits, the PB Flag is 2 bits, the Broadcast Flag is 2 bits and the total data length is 2 byte. I don't completly understand your provided code. Could you explain why you use the ACL_FRAME_OFFSET and how this bit manipulation works. Could it be that the calculation of the payload data is wrong because i've ran into some issues in my Application where im trying to reconstruct L2CAP Packets from these ACL Packets.
The text was updated successfully, but these errors were encountered:
mx0c
changed the title
Question about construction of the HCI ACL Packet
Construction of the HCI ACL Packet wrong?
Aug 30, 2020
First of all thanks for providing this great library. I've however run into a problem with it. When constructing a ACL Packet you use the following code:
When looking at the HCI ACL Spec the handle is 12 bits, the PB Flag is 2 bits, the Broadcast Flag is 2 bits and the total data length is 2 byte. I don't completly understand your provided code. Could you explain why you use the ACL_FRAME_OFFSET and how this bit manipulation works. Could it be that the calculation of the payload data is wrong because i've ran into some issues in my Application where im trying to reconstruct L2CAP Packets from these ACL Packets.
The text was updated successfully, but these errors were encountered: