This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
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 );