This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nfr52840 - BLE_APP_CSCS - increase buffer length - BLE data

Hi,

I developing a application with the nfr52840 board with SDK 15.2. i have started form the ble_app_cscs example for development my code. I I would like to send packet data via BLE with lenght uqual to 200 byte. I have checked  that is possible send packet with lenght uqual to 20 byte, What i must implement on my code for increase the buffer lenght to send ?

Thanks you,

Parents Reply
  • I have tried to follow the example ble_app_uart, where it changes the maximum size the packet, but i don't works. When i change these values NRF_SDH_BLE_GATT_MAX_MTU_SIZE ,  NRF_SDH_BLE_GAP_EVENT_LENGTH and   BLE_GATT_ATT_MTU_DEFAULT, the function nrf_sdh_ble_enable ( ) return error with code 0x04. The function nrf_sdh_ble_enable ( ) is contained in the function ble_stack_init ( ). Why the function nrf_sdh_ble_enable ( ) return error if i change these NRF_SDH_BLE_GATT_MAX_MTU_SIZE ,  NRF_SDH_BLE_GAP_EVENT_LENGTH and   BLE_GATT_ATT_MTU_DEFAULT value ?

Children
Related