Skip to main content
RAdam.1
Associate III
July 7, 2020
Question

BLE Does not advertise after a disconnection - BlueNRG-LP

  • July 7, 2020
  • 1 reply
  • 607 views

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
July 7, 2020

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.