Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Smart Bluetooth Forum Discussions

Anonymous
Not applicable

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!

0 Likes
1 Solution
VictorZ_46
Employee
5 comments on blog 25 sign-ins 250 likes received
Employee

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);

View solution in original post

0 Likes
3 Replies
Anonymous
Not applicable

Hi,

  i got the same issue.

  I'm trying to add scanning response to sample 'hello_sensor'.

  when I write code as such sequence as below. the application will get stuck.

  anyone can comment?

bleprofile_GenerateADVData(adv,2);

bleprofile_GenerateScanRspData(adv_scan,1);

bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL);

0 Likes
Anonymous
Not applicable

How does the example 'proximity_plus' work for this?

0 Likes
VictorZ_46
Employee
5 comments on blog 25 sign-ins 250 likes received
Employee

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);

0 Likes