diff --git a/examples/SARA-R5_Example4_RegisterOperator/SARA-R5_Example4_RegisterOperator.ino b/examples/SARA-R5_Example4_RegisterOperator/SARA-R5_Example4_RegisterOperator.ino index cf94753..83d0ca2 100644 --- a/examples/SARA-R5_Example4_RegisterOperator/SARA-R5_Example4_RegisterOperator.ino +++ b/examples/SARA-R5_Example4_RegisterOperator/SARA-R5_Example4_RegisterOperator.ino @@ -349,11 +349,20 @@ void printOperators(struct operator_stats * ops, int operatorsAvailable) } switch (ops[i].act) { - // SARA-R5 only supports LTE + case 0: + Serial.print(F(" - GSM")); + break; + case 2: + Serial.print(F(" - UTRAN")); + break; + case 3: + Serial.print(F(" - GSM/GPRS with EDGE")); + break; case 7: - Serial.print(F(" - LTE")); + Serial.print(F(" - LTE")); // SARA-R5 only supports LTE break; } + Serial.println(); } Serial.println(); } diff --git a/library.properties b/library.properties index d96de7d..80b33a0 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SparkFun u-blox SARA-R5 Arduino Library -version=1.1.7 +version=1.1.8 author=SparkFun Electronics maintainer=SparkFun Electronics sentence=Library for the u-blox SARA-R5 LTE-M / NB-IoT modules with secure cloud

diff --git a/src/SparkFun_u-blox_SARA-R5_Arduino_Library.h b/src/SparkFun_u-blox_SARA-R5_Arduino_Library.h index 32b28f9..b743cde 100644 --- a/src/SparkFun_u-blox_SARA-R5_Arduino_Library.h +++ b/src/SparkFun_u-blox_SARA-R5_Arduino_Library.h @@ -1024,7 +1024,7 @@ class SARA_R5 : public Print SARA_R5_error_t sendCustomCommandWithResponse(const char *command, const char *expectedResponse, char *responseDest, unsigned long commandTimeout = SARA_R5_STANDARD_RESPONSE_TIMEOUT, bool at = true); -private: +protected: HardwareSerial *_hardSerial; #ifdef SARA_R5_SOFTWARE_SERIAL_ENABLED SoftwareSerial *_softSerial;