Skip to main content
RAdam.1
Associate III
Jul 7, 2020 8:01 PM UTC
Question

BLE Does not advertise after a disconnection - BlueNRG-LP

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

This topic has been closed for replies.

1 reply

RAdam.1
RAdam.1Author
Associate III
Jul 7, 2020 10:11 PM UTC

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.