Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit IO Arduino
version=4.3.1
version=4.3.2
author=Adafruit
maintainer=Adafruit <[email protected]>
sentence=Arduino library to access Adafruit IO.
Expand Down
30 changes: 21 additions & 9 deletions src/AdafruitIO_Definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,27 +79,39 @@ class AdafruitIOGroupCallback {
// Define actual debug output functions when necessary.
#ifdef AIO_DEBUG
#define AIO_DEBUG_PRINT(...) \
{ AIO_PRINTER.print(__VA_ARGS__); } ///< Prints debug output.
{ \
AIO_PRINTER.print(__VA_ARGS__); \
} ///< Prints debug output.
#define AIO_DEBUG_PRINTLN(...) \
{ AIO_PRINTER.println(__VA_ARGS__); } ///< Prints line from debug output.
{ \
AIO_PRINTER.println(__VA_ARGS__); \
} ///< Prints line from debug output.
#else
#define AIO_DEBUG_PRINT(...) \
{} ///< Prints debug output
{ \
} ///< Prints debug output
#define AIO_DEBUG_PRINTLN(...) \
{} ///< Prints line from debug output.
{ \
} ///< Prints line from debug output.
#endif

// Define actual error output functions when necessary.
#ifdef AIO_ERROR
#define AIO_ERROR_PRINT(...) \
{ AIO_PRINTER.print(__VA_ARGS__); } ///< Prints error output
{ \
AIO_PRINTER.print(__VA_ARGS__); \
} ///< Prints error output
#define AIO_ERROR_PRINTLN(...) \
{ AIO_PRINTER.println(__VA_ARGS__); } ///< Prints line from error output
{ \
AIO_PRINTER.println(__VA_ARGS__); \
} ///< Prints line from error output
#else
#define AIO_ERROR_PRINT(...) \
{} ///< Prints error output.
{ \
} ///< Prints error output.
#define AIO_ERROR_PRINTLN(...) \
{} ///< Prints line from error output.
{ \
} ///< Prints line from error output.
#endif

#define AIO_PING_INTERVAL 60000 ///< Adafruit IO Ping Interval, in milliseconds
Expand All @@ -119,7 +131,7 @@ class AdafruitIOGroupCallback {
// echo | openssl s_client -connect io.adafruit.com:443 | openssl x509
// -fingerprint -noout
#define AIO_SSL_FINGERPRINT \
"4E C1 52 73 24 A8 36 D6 7A 4C 67 C7 91 0C 0A 22 B9 2D 5B CA" ///< Latest
"47 D2 CB 14 DF 38 97 59 C6 65 1A 1F 3E 00 1E 53 CC A5 17 E0" ///< Latest
///< Adafruit IO
///< SSL
///< Fingerprint
Expand Down
Loading