- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if I calling sequence is like this:
bleprofile_GenerateADVData(adv,2);
bleprofile_GenerateScanRspData(adv_scan,1);
bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL);
ths BCM20732 will not Broadcast!
if I calling sequence is like this:
bleprofile_GenerateADVData(adv,2);
bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL);
bleprofile_GenerateScanRspData(adv_scan,1);
ths BCM20732 will Broadcast but the ScanRspData is not right! The ScanRspData is the default data which is not i config data.
Please give an answer ,Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to put
{
extern UINT8 bleprofile_adv_num;
extern UINT8 bleprofile_scanrsp_num;
bleprofile_adv_num = 0x0;
bleprofile_scanrsp_num = 0x0;
}
before
bleprofile_Init(bleprofile_p_cfg);