Skip to content

Instantly share code, notes, and snippets.

@crc-32
Created September 16, 2020 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crc-32/95ec40e1744146bcca8ec623349de330 to your computer and use it in GitHub Desktop.
Save crc-32/95ec40e1744146bcca8ec623349de330 to your computer and use it in GitHub Desktop.
Pebble LE advertising data
...
0x07 - Name len
0x08 - Name type
0x09 - Name
0x14 - TX power len
0x15 - TX power type
0x16 - TX power
0x17 - Manu data len (0x16, 0x15 without type byte)
0x18 - Manu data type
0x19-0x2D - Manu data:
0x19 - Vendor (0x0154)
0x1B - Payload type
0x1C - Serial start
0x27 - Last byte of serial
0x28-0x2D - "Extended info":
0x28 - Hardware platform
0x29 - Color
0x2A - Major
0x2B - Minor
0x2C - Patch
0x2D - Flags (mask):
0b00000001: Running PRF
0b00000010: First use
Sample capture:
0x0201060303D9FE0C09506562626C652035444638020A0016FF54010043353034343436413332454E0E1804030000
Sample capture w/ PRF:
0x0201060303D9FE0C09506562626C652035444638020A0016FF54010043353034343436413332454E0E1804000101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment