1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-07-27 15:01:49 +03:00

publish works (QoS 0)

This commit is contained in:
ladyada
2015-05-31 23:19:13 -04:00
parent 0a943076c9
commit 1a0e611e01
4 changed files with 96 additions and 13 deletions

View File

@ -13,6 +13,8 @@ class Adafruit_MQTT_CC3000 : public Adafruit_MQTT {
uint16_t readPacket(uint8_t *buffer, uint8_t maxlen, uint16_t timeout);
int32_t close(void);
boolean publish(char *topic, char *payload, uint8_t qos);
private:
Adafruit_CC3000 *cc3000;
Adafruit_CC3000_Client mqttclient;