Dear TI,
How can I disable auto advertising after cc2541 disconnect?
I don't understand why device auto advertising.
static void peripheralStateNotificationCB( gaprole_States_t newState )
{
uint8 initial_advertising_enable;
switch ( newState )
{
case GAPROLE_STARTED:
{
initial_advertising_enable = TRUE;
GAPRole_SetParameter( GAPROLE_ADVERT_ENABLED, sizeof( uint8 ), &initial_advertising_enable );
}
}
Thanks a lot
Ben