Hello,
I am compiling my BLE project on nRF5340, with nRF Connect SDK v1.6.1. I got this error: undefined reference to bt_gatt_exchange_mtu.
My code works fine on SDK v1.4.1, so how can I solve this problem on v1.6.1? Is bt_gatt_exchange_mtu changed the name on v1.6.1?
Here is my code:
ble_connected(struct bt_conn * conn, uint8_t err)
{
if( err )
{
printk("BLE connection failed (err 0x%02x)\n", err);
}
else
{
printk("BLE connected\n");
ble_connection = conn;
exchange_params.func = exchange_func;
bt_gatt_exchange_mtu(ble_connection, &exchange_params);
}
}
Thanks,
Carl