Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2541: Advertising disappears in 10s with some specific public address and the bonds indice if gapBondMgr_SyncWhiteList() is called

$
0
0

Part Number:CC2541

Hi,

i encoutered a strange issue on advertising on TI stack 1.4.1/2:

With some spefic public addresses and the bond indic, if i set autoSyncWhiteList to TRUE before start the advertising, the adversting would last for about 10s (seen by LightBlue).

The reference project:

SimpleBLEPeripheral

My advertising setting:

  gapRole_AdvEventType = GAP_ADTYPE_ADV_IND;
  gapRole_AdvDirectType = ADDRTYPE_PUBLIC;
  gapRole_AdvChanMap = GAP_ADVCHAN_ALL;
  gapRole_AdvFilterPolicy = GAP_FILTER_POLICY_ALL;

The public addresses which were copied to the bonds[] accordingly:

 const uint8 addr0[B_ADDR_LEN] = {0xF0, 0xDB, 0x7C, 0x31, 0x83, 0x18};
 const uint8 addr1[B_ADDR_LEN] = {0xEC, 0x27, 0x59, 0xB7, 0x00, 0xD0};
 const uint8 addr2[B_ADDR_LEN] = {0x99, 0x8C, 0xDA, 0xC5, 0xCF, 0xF8};

when i swapped the content of addr1[] and addr2, i.e., the puclic address of bonds[1] and bonds[2], the advertising seemed normal. 

When i filled 0xFF to the public address of bond[2], the advertising was normal.

Have you have encountered this? If yes, do you know the reason?

BR,

Steven

BTW, when i set autoSyncWhiteList to FALSE, the adversting is ok.

 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>