Hi,
I combined the throughput example and the lbs example in NCS v2.6.2 running in NRF5340DK. It seems the advertisement is not resuming after i disconnect the app (NRF connect).
Please see the attached sample code.
Note that on top of the original lbs example, i am updating the connection parameters, phy, data length etc as in the throughput example.
Also i am using the same disconnected callback from lbs.
static void on_disconnected(struct bt_conn *conn, uint8_t reason)
{
printk("Disconnected (reason %u)\n", reason);
dk_set_led_off(CON_STATUS_LED);
}
regards,
Vinu