wolfSSL / wolfMQTT

wolfMQTT is a small, fast, portable MQTT client implementation, including support for TLS 1.3.
https://www.wolfssl.com
GNU General Public License v2.0
521 stars 155 forks source link

Update the broker compatibility list #269

Closed alvin1221 closed 2 years ago

alvin1221 commented 2 years ago

We have tested that wolfMQTT client connect to emqx broker successfully, also publish & subscribe message are working fine.

MQTT v3.1.1

./examples/mqttclient/mqttclient -h "broker.emqx.io" 
MQTT Client: QoS 0, Use TLS 0
MQTT Net Init: Success (0)
MQTT Init: Success (0)
NetConnect: Host broker.emqx.io, Port 1883, Timeout 5000 ms, Use TLS 0
MQTT Socket Connect: Success (0)
MQTT Connect: Proto (v3.1.1), Success (0)
MQTT Connect Ack: Return Code 0, Session Present 0
MQTT Subscribe: Success (0)
  Topic wolfMQTT/example/testTopic, Qos 0, Return Code 0
MQTT Publish: Topic wolfMQTT/example/testTopic, Success (0)
MQTT Waiting for message...
MQTT Message: Topic wolfMQTT/example/testTopic, Qos 0, Len 4
Payload (0 - 4): test
MQTT Message: Done

MQTT v5

./examples/mqttclient/mqttclient -h "broker.emqx.io"
MQTT Client: QoS 0, Use TLS 0
MQTT Net Init: Success (0)
MQTT Init: Success (0)
NetConnect: Host broker.emqx.io, Port 1883, Timeout 5000 ms, Use TLS 0
MQTT Socket Connect: Success (0)
MQTT Connect: Proto (v5), Success (0)
MQTT Connect Ack: Return Code 0, Session Present 0
MQTT Connect Ack: Assigned Client ID: WolfMQTTClient
MQTT Subscribe: Success (0)
  Topic wolfMQTT/example/testTopic, Qos 0, Return Code 0
MQTT Publish: Topic wolfMQTT/example/testTopic, Success (0)
MQTT Waiting for message...
MQTT Message: Topic wolfMQTT/example/testTopic, Qos 0, Len 4
Payload (0 - 4): test
MQTT Message: Done
wolfSSL-Bot commented 2 years ago

Can one of the wolfSSL admins verify this patch?

embhorn commented 2 years ago

Hi @alvin1221

Fantastic! Thanks for testing the wolfMQTT client against EMQ! We do not typically accept PR's for simple readme changes like this, as it also requires signing a contributor agreement. Would you consider opening an issue with these details and we will be sure to add it in the next release cycle?

https://github.com/wolfSSL/wolfMQTT/issues