MQTT and MQTTS with wolfSSL TSL library

Dependencies:   FP MQTTPacket

Dependents:   YoPlegma

Fork of MQTT by MQTT

MQTT is light weight publish/subscribe based messaging protocol for M2M, IoT. This library was forked from MQTT https://developer.mbed.org/teams/mqtt for adding MQTTS security layer on the protocol. TLS(SSL) part of the library is by wolfSSL.https://developer.mbed.org/users/wolfSSL/code/wolfSSL/

"connect" method was extended for TLS. Rest of API's stay compatible with MQTT.

connect methode

 int connect(char* hostname, int port,  const char *certName = NULL, int timeout=1000)

The 3rd argument certName can be following values.

  • NULL: connecting with MQTT
  • pointer to certificate file: connecting with MQTTS. PEM or DER for server verification.
  • pointer to NULL string: connecting with MQTTS without server verification. This option is for prototyping only, not recommended in security perspective.

日本語:https://developer.mbed.org/users/wolfSSL/code/MQTTS/wiki/MQTTSライブラリ

History

Verify Server Cert default tip

2015-07-26, by wolfSSL [Sun, 26 Jul 2015 09:50:40 +0000] rev 46

Verify Server Cert


MQTT-TLS

2015-07-26, by wolfSSL [Sun, 26 Jul 2015 06:10:10 +0000] rev 45

MQTT-TLS


Fix buf reference in disconnect

2014-10-06, by icraggs [Mon, 06 Oct 2014 11:41:05 +0000] rev 44

Fix buf reference in disconnect


QoS 2 processing

2014-09-29, by icraggs [Mon, 29 Sep 2014 11:34:26 +0000] rev 43

QoS 2 processing


latest updates

2014-08-21, by icraggs [Thu, 21 Aug 2014 12:40:43 +0000] rev 42

latest updates


Add logging and getter for EthernetInterface object

2014-08-15, by icraggs [Fri, 15 Aug 2014 10:23:56 +0000] rev 41

Add logging and getter for EthernetInterface object


Merging

2014-08-01, by icraggs [Fri, 01 Aug 2014 23:44:12 +0000] rev 40

Merging


Merge all branches

2014-08-01, by icraggs [Fri, 01 Aug 2014 23:37:26 +0000] rev 39

Merge all branches


Update MQTTPacket library

2014-08-01, by icraggs [Fri, 01 Aug 2014 17:26:32 +0000] rev 38

Update MQTTPacket library


Cater for session present flag on connack

2014-08-01, by icraggs [Fri, 01 Aug 2014 17:01:13 +0000] rev 37

Cater for session present flag on connack