Hi,
i m using central and peripheral code in SDK15.3 version,and i am not able to send or receive more than 20 bytes at a time in nRF52840 chipset.We are using Master and Slave communication with Nrf52840 chipsets.
Hi,
i m using central and peripheral code in SDK15.3 version,and i am not able to send or receive more than 20 bytes at a time in nRF52840 chipset.We are using Master and Slave communication with Nrf52840 chipsets.
You will need to set the MTU size within sdkconfig.h (NRF_SDH_BLE_GATT_MAX_MTU_SIZE) under nRF_SoftDevice/NRF_SDH_BLE_ENABLED - BLE Stack Configuration.
Setting this does not mean that the MTU size is automatically increased as the increase must be negotiated e.g. your connecting device must request an increase in size to which the response will be whatever MTU size is requested up to the maximum that a device supports.