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

[Sending big size data over BLE nrf51822]

Dear Nordic,

I am following this test example [https://github.com/NordicSemiconductor/nrf51-ble-app-lbs/tree/throughput-test-5.2.0] while using nrf51822 dev board.

I am unable to flash it to nrf51822 (pca10028 board). considering nRF51 SDK version 5.2.0, S110 SoftDevice version 6.0.0. Its showing error : programming failed, Invalid parameter error!

Please suggest the solution. I really need to understand this example to send big size data.

Thanks.

Parents
  • Hi,

    Have a look at this answer. Hopefully it will cover some of the information you are looking for.

    Best regards,

    Øyvind

  • hello Oyvind,

    Thanks for your reply~

    well, I used this to check the all error conditions first. Also when I reach [ble_ls_data_send(&m_lbs, data)], i enter into the function of handling the button_press for data send... [uint32_t ble_lbs_data_send(ble_lbs_t * p_lbs, uint8_t data[BLE_LBS_DATA_CHAR_LEN]]

    I don't reach to the 'break' point actually. I checked the handle, type, data, len using breakpoints..... Its ok. data array is increases but I didnt find where it is going non stop when I press the button.

    I am new to handling nrf code structure, please suggest me the solution. Also my sub-questions are related to the main question which I had posted, so I asked in comment. I will take care about this in future.

    please suggest~

    Thanks.

Reply
  • hello Oyvind,

    Thanks for your reply~

    well, I used this to check the all error conditions first. Also when I reach [ble_ls_data_send(&m_lbs, data)], i enter into the function of handling the button_press for data send... [uint32_t ble_lbs_data_send(ble_lbs_t * p_lbs, uint8_t data[BLE_LBS_DATA_CHAR_LEN]]

    I don't reach to the 'break' point actually. I checked the handle, type, data, len using breakpoints..... Its ok. data array is increases but I didnt find where it is going non stop when I press the button.

    I am new to handling nrf code structure, please suggest me the solution. Also my sub-questions are related to the main question which I had posted, so I asked in comment. I will take care about this in future.

    please suggest~

    Thanks.

Children
No Data
Related