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

Read several data from external Eeprom using RACP

Hello everyone, I must read several data stored in a external E2prom and send them to a smartphone. I thought to do this by use of Record Access Control Point, so I can to require the data from the smartphone( all, the first, the last or a range). But the question is...how should I do? And is it the right way to do this? Thanks for your attention.

Parents
  • Hi Paolo,

    You can have a look at how we handled it with our ble_app_gls example in the SDK for the nRF51 side and the nRFTool box app - Glucose profile on the phone side. In the example we handle the reading of RACP, you can choose to read the last, or all of the records.

  • Hi Bui, thank you for reply. I already seen that example. It is very interesting and so close to my goal. The problem for me is how to reuse it for my application. In the example the RACP characteristic works with a record while I have a data that I read from an external E2prom. My intention is not use a record structure because I want to send data very fast to the central. Can you help me for migration code? I created a custom service which shows the 20byte data array, start eeprom address, final eeprom address, number of data stored and other info. In this service I put the RACP service, but I have problem to handle it with my application.

Reply
  • Hi Bui, thank you for reply. I already seen that example. It is very interesting and so close to my goal. The problem for me is how to reuse it for my application. In the example the RACP characteristic works with a record while I have a data that I read from an external E2prom. My intention is not use a record structure because I want to send data very fast to the central. Can you help me for migration code? I created a custom service which shows the 20byte data array, start eeprom address, final eeprom address, number of data stored and other info. In this service I put the RACP service, but I have problem to handle it with my application.

Children
No Data
Related