hello everybody!
I have a ESP8266-07 module! I want to program it with arduino IDE but I don't wan't to use arduino board and also I want to use MQTT protocol with ssl or tls. I found some library related to what i want but i don't khnow how to use them with arduino IDE! Can anybody help me? Thanks.
--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.
HodaNo problem.The following code snippets will help you.This is using Nick O'Leary's Arduino MQTT client (http://pubsubclient.knolleary.net/)#include <ESP8266WiFi.h>#include <PubSubClient.h>WiFiClient wifiClient;WiFiClientSecure secureClient;PubSubClient mqttclient;mqttclient = PubSubClient(server, port, callback, secureClient);success = mqttclient.connect(deviceid, client_id, client_secret);if (success) {boolean verified = secureClient.verify("47:70:1A:5A:61:ED:0C:F4:BE:83:0E:84:34:E9:0D:4A:93:2D:15:A0", "servername");Serial.print(verified ? "verified tls!" : "unverified tls");}Paul
On 22 September 2016 at 12:49, Hoda Erfanian <h.erfania...@gmail.com> wrote:
hello everybody!
I have a ESP8266-07 module! I want to program it with arduino IDE but I don't wan't to use arduino board and also I want to use MQTT protocol with ssl or tls. I found some library related to what i want but i don't khnow how to use them with arduino IDE! Can anybody help me? Thanks.
--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.
HodaNo problem.The following code snippets will help you.This is using Nick O'Leary's Arduino MQTT client (http://pubsubclient.knolleary.net/)#include <ESP8266WiFi.h>#include <PubSubClient.h>WiFiClient wifiClient;WiFiClientSecure secureClient;PubSubClient mqttclient;mqttclient = PubSubClient(server, port, callback, secureClient);success = mqttclient.connect(deviceid, client_id, client_secret);if (success) {boolean verified = secureClient.verify("47:70:1A:5A:61:ED:0C:F4:BE:83:0E:84:34:E9:0D:4A:93:2D:15:A0", "servername");Serial.print(verified ? "verified tls!" : "unverified tls");}Paul
On 22 September 2016 at 12:49, Hoda Erfanian <h.erfania...@gmail.com> wrote:
hello everybody!
I have a ESP8266-07 module! I want to program it with arduino IDE but I don't wan't to use arduino board and also I want to use MQTT protocol with ssl or tls. I found some library related to what i want but i don't khnow how to use them with arduino IDE! Can anybody help me? Thanks.
--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.