This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to send data from flash memory to ble?

Hello, I am using PCA10028 and sdk 12.2.0. Now I have interfaced temperature sensor and I am storing 4000 readings from sample to flash. Once all the 4000 samples are stored I want to send this data to my nrf app using ble. How can I do that?

I am attaching my code here. Please give me suggestions.

Also when I enable memory storage functions my PCA10028 does not advertise.

main.c New Text Document (2).txt

Thanks, Shailav

Parents
  • FormerMember
    0 FormerMember

    The example ble_app_hrs-fds-test-github.zip in this answer shows how to use FDS when the softdevice is enabled, I would recommend you to take a look at it. It shows how to write and read data from flash.

  • FormerMember
    0 FormerMember in reply to FormerMember

    For how to transfer the data (fast), I would recommend you to take a look the example ble_app_uart, and specifically how the function ble_nus_string_send() is being called and how its errors are handled.

Reply
  • FormerMember
    0 FormerMember in reply to FormerMember

    For how to transfer the data (fast), I would recommend you to take a look the example ble_app_uart, and specifically how the function ble_nus_string_send() is being called and how its errors are handled.

Children
No Data
Related