Saturday 1 April 2017

get data from mqtt broker -6lbr

I followed this tutorial :

Running the CC26xx Contiki Examples

but instead of using the cc26xx-demo I used the cc26xx-web-demo and successfully manged to get everything up and running and I can access the 6lbr web page, when I access the sensorTag page I see a mqtt configuration page as shown: sensorTag page

and if I click index in the sensorTag page (pic above) I get to see the data:

enter image description here

the question is , how can I write a simple nodejs js file that uses the mqtt broker information to grab all the sensorTag sensors data and save it in an local object.



via HummingDev

No comments:

Post a Comment