User's Manual

Enhanced Class 1 Bluetooth v2.1 Module
User’s Guide
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/wireless
131
CONN-GUIDE-BT740_v0.2
12.2.3 Field Type: Object Handle
This is the format of the ‘Object Handle’ field type and is always 3 bytes long:
00
Object Handle
Always 0x00
2 bytes
12.2.4 Field Type: Attribute Tag/Value
This is the format of the ‘Attribute Tag/Value’ field type which is of variable size:
01
ATTR CODE
ATTR VALUE LEN
ATTR VALUE
Always 0x01
2 bytes
2 bytes
N bytes
The size of this field is ‘ATTR VALUE LEN’ + 5
12.2.4.1 Example: Scan Report
A sample logical ‘scan report’ packet is as follows:
0021 01 72B4 1234 01
00 0001
01 0A56 0004 12345678
01 0990 0008 2112021216453378
Which is interpreted and expanded as follows-
SCAN REPORT handle=29364 personId=4660, reports=1
O:1 (0001)
A:2646 (0A56),<len=4> 12345678
A:2448 (0990),<len=8> 2112021216453378