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

logging data on nrf52840

hi, new to ble so forgive me if my question is a little simple. i have a project that for example would require 10 central devices and 3 broadcasters. centrals and broadcasters are all mobile. at a period of roughly every 2 weeks a broadcaster will interact with a central in close proximity ( 3-5 feet )(broadcasting distance would need to be limited to this distance) . this will occur for approximately 3-5 days at which time the broadcaster will move on to another central and so on. all that i require is that the central log an I.D and date of when the broadcaster is present (I.D mm/dd).  the central would need to keep logging the presence of the broadcaster over the 3-5 day period. question : can the advertising packet sent by the broadcaster be set to change daily to include the date  and can the date and broadcaster I.D be taken from the adv. packet and stored/logged on the central. The aim would be after a 4-5 months to download this logged data to an ios/android device and graph or tabulate it to show exactly when and for how long the broadcaster was with the central  

Parents
  • Hi Jarrod.

    Let me see that i understood your question, you want 10 central (observer) and 3 peripheral (advertising/broadcaster) devices that are mobile. During a period of two weeks a peripheral device will advertise an I.D and date to a central device in close proximity, which the central device will log.

    If I understood you question, then this is possible. However, you need to make sure that the central have enough battery to keep the radio running all the time(4-5 months?), so that it can receive advertising packets.

    When it comes to store the data you should take a look at the Experimental: Flash Data Storage library and the Flash Data Storage Example.

    Hope this helps.

    - Andreas

Reply
  • Hi Jarrod.

    Let me see that i understood your question, you want 10 central (observer) and 3 peripheral (advertising/broadcaster) devices that are mobile. During a period of two weeks a peripheral device will advertise an I.D and date to a central device in close proximity, which the central device will log.

    If I understood you question, then this is possible. However, you need to make sure that the central have enough battery to keep the radio running all the time(4-5 months?), so that it can receive advertising packets.

    When it comes to store the data you should take a look at the Experimental: Flash Data Storage library and the Flash Data Storage Example.

    Hope this helps.

    - Andreas

Children
No Data
Related