Bluetooth LE Generic Access Profile
crc-32 edited this page Sep 16, 2020
·
1 revision
LE Pebbles provide extra data in the GAP (Generic Access Profile) used to advertise the device for pairing etc. alongside the standard fields
Offset (relative to start of GAP entry) | Definition | Size | Sample Data |
---|---|---|---|
0x00 | GAP Entry Length | 0x01 | 0x16 |
0x01 | GAP Entry Type | 0x01 | 0xFF (See here) |
0x02 | Vendor | 0x02 | 0x5401 (340 - Pebble Technology) |
0x03 | Payload type | 0x01 | 0x00 |
0x04 | Serial number | 0x0C | 0x43353034343436413332454E |
0x05 (Start of "Extended info") | Hardware platform | 0x01 | 0x0E |
0x06 | Color | 0x01 | 0x18 |
0x07 | Major | 0x01 | 0x04 |
0x08 | Minor | 0x01 | 0x03 |
0x09 | Patch | 0x01 | 0x00 |
0x09 | Flags | 0x01 | 0x00 |
The last byte contains flags, only two are currently known of:
Binary mask | Definition |
---|---|
0b00000001 | Running PRF |
0b00000010 | First use |
- Pin Assignments
- Snowy Screen
- Assorted IDA Notes
- Pebble Time (Snowy) EXTI and GPIO configuration
- Firmware: Flashing from a computer
- Firmware: Communicating with the bootloader
- Firmware: Update and boot mechanism
- Libraries
- MPUless Pebble
- Pebble Parts and Datasheets
- Firmware Font Format
- Working with Resources
- Bluetooth LE Generic Access Profile
If you'd like anything added here, please contact @ishotjr or @johannesn via the Pebble Dev Discord server