This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Saving data read by sensor on computer

Other Parts Discussed in Thread: CC2540

Hi all,

I have just bought a CC2540 and downloaded BLE device monitor on Windows 7 to see temperature and humidity data in real time. I would like to be able to save this data on a .txt document for example with a matlab code. I have been trying but as I am not an expert on this area I am having so much trouble and can't get anywhere. I would really appreciate to get an explanation on how to achieve my objective or directly the code I am looking for.

Thank you very much in advance.

Juan

  • Hi,

    The Device Monitor does not store this in a nice way. The iOS app can do this. With the DevMon, you could potentially store the log in the sidebar and extract the data that is sent.

    BR,
    Aslak

  • You can just enable the notification of sensors using BLE Device Monitor and the data will appear on the log window, just save the log and post process using some scripts to extract the data you want. Hope it could help.

    Chunmeng

  • Hi Chummeng, thanks for the help.

    I thought of that at the first moment, but I am looking for something more sofisticated like creating a matlab program that could read the information from the USB and directly save this information without the need of the BLE Device Monitor. Anyway, if I don't come up with another solution the one you mentioned is the one I will do. Thanks again.


    Juan