You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-07-24 16:42:31 +03:00
Fix formatting
This commit is contained in:
@ -190,11 +190,12 @@ public:
|
||||
// Publish a message to a topic using the specified QoS level. Returns true
|
||||
// if the message was published, false otherwise.
|
||||
bool publish(const char *topic, const char *payload, uint8_t qos = 0);
|
||||
bool publish(const char *topic, const char *payload, bool retain, uint8_t qos = 0);
|
||||
bool publish(const char *topic, uint8_t *payload, uint16_t bLen,
|
||||
bool publish(const char *topic, const char *payload, bool retain,
|
||||
uint8_t qos = 0);
|
||||
bool publish(const char *topic, uint8_t *payload, uint16_t bLen,
|
||||
bool retain, uint8_t qos = 0);
|
||||
uint8_t qos = 0);
|
||||
bool publish(const char *topic, uint8_t *payload, uint16_t bLen, bool retain,
|
||||
uint8_t qos = 0);
|
||||
|
||||
// Add a subscription to receive messages for a topic. Returns true if the
|
||||
// subscription could be added or was already present, false otherwise.
|
||||
@ -273,7 +274,8 @@ private:
|
||||
uint16_t publishPacket(uint8_t *packet, const char *topic, uint8_t *payload,
|
||||
uint16_t bLen, uint8_t qos, uint16_t maxPacketLen = 0);
|
||||
uint16_t publishPacket(uint8_t *packet, const char *topic, uint8_t *payload,
|
||||
uint16_t bLen, bool retain, uint8_t qos, uint16_t maxPacketLen = 0);
|
||||
uint16_t bLen, bool retain, uint8_t qos,
|
||||
uint16_t maxPacketLen = 0);
|
||||
|
||||
uint8_t subscribePacket(uint8_t *packet, const char *topic, uint8_t qos);
|
||||
uint8_t unsubscribePacket(uint8_t *packet, const char *topic);
|
||||
|
Reference in New Issue
Block a user