First of all: thanks for your great work! I ran into an issue when enabling HTTPS. When I set #define NRF905API_HTTPS from 0 to 1, I get the following error message:
<path>\nRF905-API\src\nRF905API\nRF905API.ino: In function 'void setup()':
nRF905API:194:54: error: 'serverCert' was not declared in this scope
server.getServer().setRSACert(new BearSSL::X509List(serverCert), new BearSSL::PrivateKey(serverKey));
^
nRF905API:194:91: error: 'serverKey' was not declared in this scope
server.getServer().setRSACert(new BearSSL::X509List(serverCert), new BearSSL::PrivateKey(serverKey));
^
exit status 1
'serverCert' was not declared in this scope
When I change NRF905API_HTTPS back to 1, it compiles successfully.
First of all: thanks for your great work! I ran into an issue when enabling HTTPS. When I set
#define NRF905API_HTTPS
from 0 to 1, I get the following error message:When I change NRF905API_HTTPS back to 1, it compiles successfully.