save data on MDBT42Q and send it to my device

Posted on
  • Hello ,
    Is there any way to save data on the MDBT42Q?
    I running a scan to and want to save the resault ,
    can I do this?
    can I save the the data as txt file \ or even Json ,
    and then send it to my phone ?(when I connect to it ,and assuming I have an app then can read JSON)?

    Thanks ,

  • Yes - this might be a good start, there are some examples there: http://www.espruino.com/Data+Collection

  • I read it , and now I guess it "save" me the data.
    3 questions:

    1. what is the limit of sapce I can use for this ?
    2. lest say the device work for 2 hours,I got 100 entries - then the battery is unplug.
      is the data saved somewhere? or it got lost?

    3. let say that I want to transfer the data to my PI ,
      how do I do this?
      what do I need to write on the PI side ,in order to read the data and then delete the device log?

    Thanks ,

  • is the data saved somewhere? or it got lost?

    If you follow the instructions for RAM, it gets lost. If you follow the instruction for Flash, it isn't.

    let say that I want to transfer the data to my PI

    http://www.espruino.com/Data+Collection#extracting-data

    You just need an app that'll read the CSV data output by that code and do something with it

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

save data on MDBT42Q and send it to my device

Posted by Avatar for David1234321 @David1234321

Actions