cetic / foren6-gui-qt

2 stars 7 forks source link

Guidance on using Foren6 for personal Application #4

Closed shantanoo-desai closed 9 years ago

shantanoo-desai commented 9 years ago

Hi

I am deploying a CoAP server that gives me necessary information via the necessary GET, and also POST for changing the sink address and path and Posting Interval which the server keeps posting with its EUI, Temp and a count value.

A linux PC is setup as a sink using the 6LBR and every CoAP POST that the server posts according the mentioned interval gets Acknowledged with a CON post according to RFC7252. and the data from the server is posted on the Ubuntu Terminal the format looks like

{eui: aabbccddeeff, temp: xxxx mC, count : yy}

I want to use this data to make a very simple GUI like the one Foren6 uses to make a simple visualization which server is whom using the EUI and how much temperature it has measured.

Questions:

  1. Would you suggest me using the Qprocess in Qt to directly access the posted values on Ubuntu Terminal or is there a better solution like storing it into a text file and then parsing data from it ?
  2. Which files do I need to go through to make the Sensor visualization like that of Foren6?

Thanks, I hope the query is detailed enough to understand

Regards, Shan