I've been trying to increase NRF_BLE_GATT_MAX_MTU_SIZE
on SDK13.0.0 + SD123 5.0.0 trying to follow examples such as
this as well as Throughput and Range Demo
For e.g. I tried setting MTU to 50, but keep getting the following output:
nrf_ble_gatt:DEBUG:Requesting to update ATT MTU to 50 bytes on connection 0x0.
nrf_ble_gatt:ERROR:sd_ble_gattc_exchange_mtu_request() returned unexpected value 0x7.
nrf_ble_gatt:DEBUG:Requesting to update data length to 54 on connection 0x0.
nrf_ble_gatt:INFO:Requesting rx octets 54, tx octets 54
nrf_ble_gatt:ERROR:sd_ble_gap_data_length_update() (request) on connection 0x0 returned unexpected value 0x13.
nrf_ble_gatt:ERROR:Limits tx_oct 27, rx_oct 27, time_us 0
nrf_ble_gatt:DEBUG:Peer on connection 0x0 requested a data length of 27 bytes.
nrf_ble_gatt:DEBUG:Updating data length to 27 bytes on connection 0x0.
nrf_ble_gatt:DEBUG:Data length updated to 27 on connection 0x0.
nrf_ble_gatt:DEBUG:max_rx_octets: 27
nrf_ble_gatt:DEBUG:max_tx_octets: 27
nrf_ble_gatt:DEBUG:max_rx_time: 328
nrf_ble_gatt:DEBUG:max_tx_time: 328
All the examples I've found use BLE_GAP_OPT_EXT_LEN
which is not available on S132 4.0.4 or 5.0.0, so I still havent found a way to enable DLE
I'm clearly missing something here. Can someone please help me get NRF_BLE_GATT_MAX_MTU_SIZE > 23 working?
Any help is much appreciated, Thanks