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 ++;
}
}
3. Can double broadcasting and scanning work well in sleep mode? How much is the power consumption in this case?
