Last active
November 4, 2015 01:10
-
-
Save j2abro/e6d3e45de405d5e99b1a to your computer and use it in GitHub Desktop.
Bluetooth PDU data format for advertising packet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#http://interactive.blockdiag.com/packetdiag/ | |
packetdiag { | |
colwidth = 32 | |
node_height = 80 | |
scale_direction = ltr # right_to_left; # left_to_right, ltr, right_to_left or rtl | |
scale_interval = 8 # draw scale labels each 4 bytes | |
0-15: Header\n\n(16 bits) | |
16-31: Payload\n\n(variable, per length field in header) [colheight = 2] | |
* PDU Type [rotate = 270, len=4] | |
* RFU [rotate = 270, len = 2] #this format also works | |
* TxAdd [rotate = 270, len = 1] | |
* RxAdd [rotate = 270, len = 1] | |
* Length [rotate = 270, len = 6] | |
* RFU [rotate = 270, len = 2] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment