Advertisement not resuming after disconnection

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.

7455.lbs_throughput.zip

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

Parents Reply Children
No Data
Related