cc2540 关于adv PDU header 的问题
时间:10-02
整理:3721RD
点击:
请教各位,adv PDU header 中的TxAdd和RxAdd分别代表什么意思啊,在哪里可以修改他们呢
The ADV_IND PDU has the Payload as shown in Figure 2.4. The PDU shall be
used in connectable undirected advertising events. The TxAdd in the Flags
field indicates whether the advertiser’s address in the AdvA field is public
(TxAdd = 0) or random (TxAdd = 1).
但是,请问怎样改呢
用这个函数就可以把TxAdd改成1:
GAP_ConfigDeviceAddr( ADDRTYPE_PRIVATE_RESOLVE, (uint8 *)NULL );