Hi all,
I am recording voice continuously during which connection gets disconnected. What i want is peripheral should start advertising as soon as i finish my recording process so that it can reconnect to my central device(phone). I have called following function just after i have finished my recording process but peripheral doesn't start advertising immediately. It starts advertising only after long gap of around 1-2min.
uint16 enable_advertising; enable_advertising = TRUE;
GAPRole_SetParameter( GAPROLE_ADVERT_ENABLED, sizeof( uint8 ), &enable_advertising );
Can anyone please suggest me what i need to add beside above code to start advertising immediately? I want to establish connection within 50ms. My min and max connection time are set as 10ms and 15ms
thanks