Hello,
I am using NRF52840 board and SDK 14.1, Softdevice 5.0.0-2.
I am testing other devices on my board.
However, it seems to work normally until 2, but the connection is unstable from 3 or more, and the connection is disconnected when data communication is exchanged.
The logs are:
<info> app: LBS central link 0x1 disconnected (reason: 0x13) <info> ble_lbs_c: BLE_GAP_EVT_DISCONNECTED Type [0] <info> ble_lbs_c: BLE_GAP_EVT_DISCONNECTED Type [0] <info> ble_lbs_c: BLE_GAP_EVT_DISCONNECTED Type [0] <info> ble_lbs_c: BLE_GAP_EVT_DISCONNECTED Type [0] <info> app: Start scanning for device name Nordic_Blinky. <info> app: Connection 0x1 established, starting DB discovery. <debug> ble_db_disc: Starting discovery of service with UUID 0x19F1 on connection handle 0x1. <debug> ble_gatt: Requesting to update ATT MTU to 128 bytes on connection 0x1. <debug> ble_gatt: sd_ble_gattc_exchange_mtu_request() on connection 0x1 returned busy, will retry. <debug> ble_gatt: Requesting to update data length to 132 on connection 0x1. <info> app: Start scanning for device name Nordic_Blinky. <debug> ble_db_disc: Found service UUID 0x19F1. <debug> ble_gatt: Data length updated to 132 on connection 0x1. <debug> ble_gatt: max_rx_octets: 27 <debug> ble_gatt: max_tx_octets: 132 <debug> ble_gatt: max_rx_time: 328 <debug> ble_gatt: max_tx_time: 1168 <debug> ble_db_disc: Discovery of service with UUID 0x19F1 completed with success on connection handle 0x1. <debug> app: call to ble_lbs_on_db_disc_evt for instance 1 and link 0x1! <debug> ble_lbs_c: Led Button Service discovered at peer. <info> app: LED Button service discovered on conn_handle 0x1 <debug> ble_lbs_c: Configuring CCCD. CCCD Handle = 15, Connection Handle = 1 <info> ble_lbs_c: Configuring CCCD. CCCD Handle = 15, Connection Handle = 1 <info> ble_lbs_c: SD Read/Write API returns Success.. <debug> ble_gatt: Requesting to update ATT MTU to 128 bytes on connection 0x1 (retry).
I currently have up to 4 enabled and the MTU Size of my NRF52840 board and other devices is also set to 128.
I know that rx octets and tx octets should be the same, but I do not understand that the board and the other devices both have an MTU size of 128 and come out differently.
Why? Please help me.