Part Number:CC2640R2F
您好,
我们在使用SDK中AOA receiver工程时发现如下问题,希望得到您的帮助。第一个数据包格式可以根据company id,packet id(LocPktTab参数
)过滤,第二种数据包格式则无法过滤获得数据。使用的SDK版本:simplelink_cc2640r2_sdk_2_30_00_28。想了解一下此过滤得机制,如果想要支持第二种数据包格式(比第一种格式PDU部分前面多了三个字节),需要做什么修改,谢谢!
第一种数据包PDU部分
13 |
adv0 |
0x1E |
adv Len |
|
14 |
adv1 |
0xFF |
||
15 |
adv2 |
0x0D |
TI companyID |
16bit |
16 |
adv3 |
0x00 |
||
17 |
adv4 |
0x04 |
AoA packetID |
8bit |
18 |
adv5 |
0x00 |
padding |
6 bytes |
19 |
adv6 |
0x00 |
||
20 |
adv7 |
0x00 |
||
21 |
adv8 |
0x00 |
||
22 |
adv9 |
0x00 |
||
23 |
adv10 |
0x00 |
||
24 |
adv11 |
0xFF |
DF signals |
20 bytes |
25 |
adv12 |
0xFF |
begin at (1+4+6)byte |
|
26 |
adv13 |
0xFF |
||
27 |
adv14 |
0xFF |
||
28 |
adv15 |
0xFF |
||
29 |
adv16 |
0xFF |
||
30 |
adv17 |
0xFF |
||
31 |
adv18 |
0xFF |
||
32 |
adv19 |
0xFF |
||
33 |
adv20 |
0xFF |
||
34 |
adv21 |
0xFF |
||
35 |
adv22 |
0xFF |
||
36 |
adv23 |
0xFF |
||
37 |
adv24 |
0xFF |
||
38 |
adv25 |
0xFF |
||
39 |
adv26 |
0xFF |
||
40 |
adv27 |
0xFF |
||
41 |
adv28 |
0xFF |
||
42 |
adv29 |
0xFF |
||
43 |
adv30 |
0xFF |
第二种PDU部分:
13 |
adv0 |
0x02 |
AD data length |
|
14 |
adv1 |
0x01 |
AD type:Flags | |
15 |
Adv2 |
0x06 |
Flags Data | |
16 |
Adv3 |
0x1B |
AD data length | |
17 |
Adv4 |
0xFF |
AD type | |
18 |
Adv5 |
0x0D |
TI companyID |
16bit |
19 |
Adv6 |
0x00 |
||
20 |
Adv7 |
0x04 |
AoA packetID |
8bit |
21 |
Adv8 |
0x00 |
||
22 |
adv9 |
0x00 |
||
23 |
adv10 |
0x00 |
||
24 |
adv11 |
0xFF |
DF signals |
20 bytes |
25 |
adv12 |
0xFF |
begin at (1+4+6)byte |
|
26 |
adv13 |
0xFF |
||
27 |
adv14 |
0xFF |
||
28 |
adv15 |
0xFF |
||
29 |
adv16 |
0xFF |
||
30 |
adv17 |
0xFF |
||
31 |
adv18 |
0xFF |
||
32 |
adv19 |
0xFF |
||
33 |
adv20 |
0xFF |
||
34 |
adv21 |
0xFF |
||
35 |
adv22 |
0xFF |
||
36 |
adv23 |
0xFF |
||
37 |
adv24 |
0xFF |
||
38 |
adv25 |
0xFF |
||
39 |
adv26 |
0xFF |
||
40 |
adv27 |
0xFF |
||
41 |
adv28 |
0xFF |
||
42 |
adv29 |
0xFF |
||
43 |
adv30 |
0xFF |
Kevin Qiu1:
simplelink_cc2640r2_sdk_2_30_00_28已经是很早之前的版本了,TI已经终止对cc2640r2f的AOA支持,新的版本中也不再提供AOA的例程。建议你更换到支持标准ble5.1 AOA规范的CC26X2平台:https://www.ti2k.com/wp-content/uploads/2022/03/DeyiSupport_Bluetooth_node