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ライブラリ

Revisions of MQTTPacket.lib

Revision Date Message Actions
45:6c023c2ab095 2015-07-26 MQTT-TLS File  Diff  Annotate
43:21da1f744243 2014-09-29 QoS 2 processing File  Diff  Annotate
40:9623a2c9c8ac 2014-08-01 Merging File  Diff  Annotate
39:fc93eb17c268 2014-08-01 Merge all branches File  Diff  Annotate
38:affdb8bd3e7c 2014-08-01 Update MQTTPacket library File  Diff  Annotate
37:e3d64f9b986c 2014-08-01 Cater for session present flag on connack File  Diff  Annotate
36:2f1ada427e56 2014-08-01 Update types to match MQTTPacket changes File  Diff  Annotate
35:063dc3b472d5 2014-08-01 Change boolean flag size in MQTTPacket to one byte (unsigned char) File  Diff  Annotate
34:e18a166198df 2014-08-01 Change boolean field sizes in MQTTPacket to 1 char File  Diff  Annotate
32:3ad9afa63299 2014-07-03 Update dependency File  Diff  Annotate
30:a4e3a97dabe3 2014-05-20 Merge after refactoring header locations File  Diff  Annotate
28:8b2abe9bd814 2014-05-11 Merge branches File  Diff  Annotate
26:2658bb87c53d 2014-05-11 Wildcard subscription support. Limits as template parameters. File  Diff  Annotate
25:d13a6c558164 2014-05-09 Simplify example by moving IPStack into this library for each transport. Working on FP usage to not need the FP.cpp inclusion in main File  Diff  Annotate
20:cad3d54d7ecf 2014-04-28 Split APIs into two. Add unsubscribe and disconnect processing File  Diff  Annotate
16:91c2f9a144d4 2014-04-14 Add subscriptions File  Diff  Annotate
15:64a57183aa03 2014-04-13 I really want the arrays to be allocated in automatic storage File  Diff  Annotate
14:079ddee80e3d 2014-04-11 Latest updates File  Diff  Annotate
10:68a4ada53367 2014-04-10 Move linux main to a better place File  Diff  Annotate