Formatting the Certificate array in secrets.h
Opened this issue · 1 comments
rowifi commented
I've created a sample program using the same construct for the certificate array in an AVR studio project.
I see 0x0A added into the array at every end of line.
I believe quotes should be used on each line together with the \ character.
jackwilkinson255 commented
Hi rowifi, can you give an example of this? I am facing the same issue. Would it look like this:
static const char AWS_CERT_CA[] PROGMEM = R"EOF(
\"-----BEGIN CERTIFICATE-----\"
\"fd89dds9fh88n0j0idisnifdfsndidfsnidsinosdfdsf9dsf90n\"
\"sdfnfsdonfdsiosdfnosfdiosfdsnifd09n9ij3q90209320209\"
\"adscionacancscnisaasiosaionas90as90as09sa0as90anc\"
\"-----END CERTIFICATE-----\"
)EOF";
Thanks