cancel
Showing results for 
Search instead for 
Did you mean: 

BLE Does not advertise after a disconnection - BlueNRG-LP

RAdam.1
Associate III

I am advertising and receive an incoming connection from an iOS App. This all works great.

In my disconnect_complete call back I enable advertising again with a call to ret = aci_gap_set_advertising_enable(ENABLE, 1, Advertising_Set_Parameters); 

However advertising does not restart.

Also found that if I do a DISABLE and ENABLE again using the above call then advertising doesnt restart

1 REPLY 1
RAdam.1
Associate III

Also found that a call to

ret = aci_gap_set_advertising_data(0, ADV_COMPLETE_DATA, sizeof(adv_data), adv_data);

while it is advertising works sometimes but often the advertising just stops completely.