MKRNB
MKRNB copied to clipboard
"`error: 'SerialSARA' was not declared in this scope`"
When I try to use the library, in the "NBWebClient" example, I get the same error from the Modem.cpp
file.
..\libraries\MKRNB\src\Modem.cpp:383:18: error: 'SerialSARA' was not declared in this scope
ModemClass MODEM(SerialSARA, 115200, SARA_RESETN, SARA_PWR_ON, SARA_VINT);
^~~~~~~~~~
..\libraries\MKRNB\src\Modem.cpp:383:18: note: suggested alternative: 'SerialUSB'
ModemClass MODEM(SerialSARA, 115200, SARA_RESETN, SARA_PWR_ON, SARA_VINT);
^~~~~~~~~~
SerialUSB
..\libraries\MKRNB\src\Modem.cpp:383:38: error: 'SARA_RESETN' was not declared in this scope
ModemClass MODEM(SerialSARA, 115200, SARA_RESETN, SARA_PWR_ON, SARA_VINT);
^~~~~~~~~~~
..\MKRNB\src\Modem.cpp:383:38: note: suggested alternative: 'GSM_RESETN'
ModemClass MODEM(SerialSARA, 115200, SARA_RESETN, SARA_PWR_ON, SARA_VINT);
^~~~~~~~~~~
GSM_RESETN
..\libraries\MKRNB\src\Modem.cpp:383:51: error: 'SARA_PWR_ON' was not declared in this scope
ModemClass MODEM(SerialSARA, 115200, SARA_RESETN, SARA_PWR_ON, SARA_VINT);
^~~~~~~~~~~
..\libraries\MKRNB\src\Modem.cpp:383:51: note: suggested alternative: 'SARA_VINT_ON'
ModemClass MODEM(SerialSARA, 115200, SARA_RESETN, SARA_PWR_ON, SARA_VINT);
^~~~~~~~~~~
SARA_VINT_ON
exit status 1
Compilation error: exit status 1
This is using the NBWebClient.ino
example file, no changes made, and MKRNB version 1.5.1.