Request frame: Bluetooth Gap Scan Request - 0x34
Description
This frame type is emitted in response to a Bluetooth GAP Scan Request and whenever the Bluetooth scan timer has timed out. The status field of this frame indicates the Bluetooth scanner state.
Format
The following table provides the contents of the frame. For details on frame structure, see API frames.
Offset | Size | Field Name | Description |
---|---|---|---|
0 |
8-bit |
Start Delimiter |
Indicates the start of an API frame. |
1 |
16-bit |
Length |
Number of bytes between the length and checksum. |
3 |
8-bit |
Frame Type |
Bluetooth Scan Request - 0xB5 |
4 |
8-bit |
Scan Status |
Reflects the status of the Bluetooth scanner:
|
EOF |
8-bit |
Checksum |
0xFF minus the 8-bit sum of bytes from offset 3 to this byte (between length and checksum). |