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

BLE Send failed with error staus changed to 8

Hello,

I am facing problems when I send  3 consecutive chunks of 244 bytes on BLE. My actual task is like receive from SPI and send it to BLE. I am receiving data in chunk of 244 and transmitting into BLE. My aim is to receiv 100 KB data from SPI and send it to BLE. I am testing slowly increasing the size but after 732 bytes code stucking and go to  NRF_BREAKPOINT_COND.

My connection parameter are as below : 

#define MIN_CONN_INTERVAL MSEC_TO_UNITS(20, UNIT_1_25_MS) /**< Minimum acceptable connection interval (20 ms), Connection interval uses 1.25 ms units. */
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(40, UNIT_1_25_MS) /**< Maximum acceptable connection interval (75 ms), Connection interval uses 1.25 ms units. */
#define SLAVE_LATENCY 0 /**< Slave latency. */
#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS) /**< Connection supervisory timeout (4 seconds), Supervision Timeout uses 10 ms units. */

Please udpate me as soon as possible.

Parents Reply
  • Hello Hung Bui,

    I am getting error in nordic application.My main problem is  sd_ble_gatts_hvx returns NRF_SUCCESS after sending some number of chunks. 

    I am trying to change NRF_SDH_BLE_GAP_EVENT_LENGTH. If i change it from default values then code directly stucks into error handler

    I also try to change hvn queue size but still If I change code directly goes into error handler

Children
Related