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

How i change app timer time using android app?

Hello,

We are using nRF52832 DK, nRF52 sdk15.0 with SES IDE in windows 10. Currently we have senor network which is trigger every 1 Hr and send data trigger time set in program flash memory.

We want to change the sensor trigger time using android app which will connect to our sensor node and send time to set in device.

So how we can update application timer time in sensor node by using android app. The sensor trigger time is different and set it by user like 30 min, 1Hr, 3 Hr, 8Hr, 1 day etc.

Is it need to store in flash by ble android app or it can be do by other way..

Please anyone provide me example code and tutorial link so we can do quickly. In sensor node we are using ble_app_uart example and modified by own application.

Looking forward your response.!!

Thanks in advanced....!!!! 

Parents Reply
  • Thanks for provided flash write examples.

    Now i am able to write some data in flash and read as well. But regarding app timer time save in flash as per receiving from android connection still confused.

    How i can saved new timer overwrite on old time will please provide small program snippet for read time from android connection in static void nus_data_handler(ble_nus_evt_t * p_evt)
    so that i can understand.   Also how i can call write function after getting data from android and then update it in timer variable.

    Thanks...!!!

Children
Related