Arduino-Library icon indicating copy to clipboard operation
Arduino-Library copied to clipboard

CA_ROOT_CERTIFICATE defined as a global variable

Open csgregg opened this issue 3 years ago • 0 comments

CA_ROOT_CERTIFICATE is defined as a global in ThingerClient.h, so makes the library difficult to use when needing to add to multiple files in the same build. Possible solutions - 1) change CA_ROOT_CERTIFICATE to a #define instead of a global variable. 2) pass the cert in the constructor and let the user define the correct cert...

csgregg avatar Jan 20 '22 15:01 csgregg