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

How to setup data / data layout for transmitting time series?

Hello All,

my application should record acceleration data and time stamps.

After recording the data block from start to end should be transmitted.

I only know that BLE transmits the as is (current) data.

How can I request a timestamped data?

How to efficiently transmit the data without application specific acknowledge after each data set?

I think this topic is addressed by weather station or activity monitor apps.

But I can't find how.

Thanks for any hints.

Adib.

--

Parents
  • Hello Torbjorn,

    I do not have problems on having valid timestamp.

    But my data are organized as timeseries.

    And I only know BLE data are as is organized.

    i.e. the temperature,

    I only reuest that ID from temperature and I get temperature.

    But how do I get the temperature from a specific timestamp?

    Regards, adib.

  • Hi Adib

    If I understand you correctly you want to request the temperature recorded at a specific point in time, and the nRF52 device will store multiple temperature readings in memory taken at different times?

    This is not supported by the standard temperature service, so you will need to implement something proprietary. 

    For instance you can add an additional characteristic that allows you to tell the nRF52 device what point in time you are interested. Then you can change the code in the nRF52 to update the temperature characteristic with the temperature recorded at that time, allowing you to read it back on the central side. 

    Best regards
    Torbjørn

Reply
  • Hi Adib

    If I understand you correctly you want to request the temperature recorded at a specific point in time, and the nRF52 device will store multiple temperature readings in memory taken at different times?

    This is not supported by the standard temperature service, so you will need to implement something proprietary. 

    For instance you can add an additional characteristic that allows you to tell the nRF52 device what point in time you are interested. Then you can change the code in the nRF52 to update the temperature characteristic with the temperature recorded at that time, allowing you to read it back on the central side. 

    Best regards
    Torbjørn

Children
No Data
Related