FloKra d9e47579fd 0.5.0 2020-01-09 | há 4 anos atrás | |
---|---|---|
.. | ||
examples | há 4 anos atrás | |
src | há 4 anos atrás | |
tests | há 4 anos atrás | |
.gitignore | há 4 anos atrás | |
.travis.yml | há 4 anos atrás | |
CHANGES.txt | há 4 anos atrás | |
LICENSE.txt | há 4 anos atrás | |
README.md | há 4 anos atrás | |
keywords.txt | há 4 anos atrás | |
library.json | há 4 anos atrás | |
library.properties | há 4 anos atrás |
This library provides a client for doing simple publish/subscribe messaging with a server that supports MQTT.
The library comes with a number of example sketches. See File > Examples > PubSubClient within the Arduino application.
Full API documentation is available here: https://pubsubclient.knolleary.net
MQTT_MAX_PACKET_SIZE
in PubSubClient.h
.MQTT_KEEPALIVE
in PubSubClient.h
.MQTT_VERSION
in PubSubClient.h
.The library uses the Arduino Ethernet Client api for interacting with the underlying network hardware. This means it Just Works with a growing number of boards and shields, including:
YunClient
in place of EthernetClient
, and
be sure to do a Bridge.begin()
firstMQTT_MAX_TRANSFER_SIZE
define in PubSubClient.h
.The library cannot currently be used with hardware based on the ENC28J60 chip – such as the Nanode or the Nuelectronics Ethernet Shield. For those, there is an alternative library available.
This code is released under the MIT License.