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.

CC2652R: Double Broadcasts' Enabling Interval

Part Number: CC2652R
Other Parts Discussed in Thread: SYSCONFIG, ENERGYTRACE

Hi Team,

1. I created my own 10ms task, enabled double broadcasts through the following interface, and set the enabling interval between the two broadcasts as 30ms. But through the packet capture tool, it could be seen that the interval between the two broadcasts was changing. Can I control the broadcasts' enabling interval in this way? If not, is there an API that can control the two broadcasts' enabling interval?

static void AdSwitch (uint8* pflag )
{
static uint8 cnt =0;
if (* pflag ==0)
{

GapAdv _ enable ( advHandlegacy , GAP _ ADV _ ENABLE _ OPTIONS _ USE MAX ,0);
cnt =1;
* pflag =1;
}
if ( cnt >=4)
{
GapAdv _ enable ( advHandle , GAP _ ADV _ ENABLE _ OPTIONS _ USE _ MAX ,0);
cnt =0;
}
else if ( cnt >=1)
{
cnt ++;
}
}

 

2. I turned on scanning in double broadcasting mode. If I don’t control the start time of broadcasting and scanning, will there be any conflicts between scanning and broadcasting? If so, is there a corresponding API interface to control this interval?

3. Can double broadcasting and scanning work well in sleep mode? How much is the power consumption in this case?
Kind regards,
Katherine