I want to send and receive data over wifi.
I want send the data from our cloud and acknowledge to cloud.
I want to configure sensor on the fly on Intel Edison board.
Please do need full.
If you would like to send data over Wi-Fi, I believe your best option would be to use a protocol based on TCP, like netcat, telnet, or Expect.
When you mention that you would like to send the data from our cloud and acknowledge to cloud, what do you mean? Do you already have a server that handles the data you send?
What exactly do you want to configure on the sensor? What changes are you planning to do on the go?
We can able to configure the Sensor value (Threshold values) from cloud .Sensor are connected to Device(Edsion).
Device can only send the values base on sensor configuration at server.
Example : temperature sensor value cab be configured at cloud. I want send data for every 10 minutes or when temperature change in 2 degree.
I ma using MQTT protocol for reeving sensor data on device but we are unable to send acknowledgement to device.
if ( SECURE_MODE == 0 )
mqttClient.begin("xx.xx.xx.xx", 1883, OPEN, NULL, NULL, NULL);
//subscribe to all topics published under edison
mqttClient.subscribe("edison/# ", mqttCallback);
//put your main code here, to run repeatedly:
sprintf(msgString, "%.2f", readTemperature()); // orginal
mqttClient.publish("Temperature", msgString); // orginal
Hi Peter ,
Please check reference link.
https://software.intel.com/en-us/blogs/2015/04/06/using-edison-securely-connect-iot-sensor-to-the-in... IoT - Using Edison: Securely connect IoT Sensor to the Internet with MQTT | Intel® Software
Did you make sure to build and install Mosquitto correctly according to this guide? https://software.intel.com/en-us/blogs/2015/02/20/building-and-running-mosquitto-mqtt-on-intel-ediso... https://software.intel.com/en-us/blogs/2015/02/20/building-and-running-mosquitto-mqtt-on-intel-ediso.... Take a look too at the comments, at the end of the guide, you might also use some of those recommendations.
Also, did you make sure to set the class for the Client? Could you please share your configuration of the MQTTClient Class? I would like to see if there's something wrong with the configuration.