1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-07-29 02:02:00 +03:00

updated publish half for long packet sendings!

This commit is contained in:
ladyada
2016-07-06 18:32:21 -04:00
parent b26b4eb32c
commit 5d133c3852
5 changed files with 52 additions and 24 deletions

View File

@ -51,7 +51,7 @@ class Adafruit_MQTT_Client : public Adafruit_MQTT {
bool disconnectServer();
bool connected();
uint16_t readPacket(uint8_t *buffer, uint16_t maxlen, int16_t timeout);
bool sendPacket(uint8_t *buffer, uint8_t len);
bool sendPacket(uint8_t *buffer, uint16_t len);
private:
Client* client;