Skip to content

Commit e5b3693

Browse files
committed
Change prefixes from UBLOX_AT to UBX_CELL
More consistent with the new library name, and more consistent with the GNSS library (UBX_GNSS is a common prefix there; probably not important to have parity between this and that, but hey, you never know when little things like that will help in big ways...)
1 parent 058c38a commit e5b3693

File tree

5 files changed

+1895
-1895
lines changed

5 files changed

+1895
-1895
lines changed

examples/Example1_DeviceIdentification/Example1_DeviceIdentification.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// Uncomment the module you're using. If your module is not listed below, then
88
// it's not supported for this example
9-
UBLOX_AT myModule; // This example works with all modules, so the base class can be used
9+
UBX_CELL myModule; // This example works with all modules, so the base class can be used
1010
// SARA_R5 myModule; // Base SARA-R5 class
1111
// SARA_R500S myModule;
1212
// SARA_R500S_01B myModule;
@@ -35,7 +35,7 @@ String simStateString[] =
3535

3636
// processSIMstate is provided to the SARA-R5 library via a
3737
// callback setter -- setSIMstateReadCallback. (See setup())
38-
void processSIMstate(UBLOX_AT_sim_states_t state)
38+
void processSIMstate(UBX_CELL_sim_states_t state)
3939
{
4040
Serial.println();
4141
Serial.print(F("SIM state: "));
@@ -88,7 +88,7 @@ void setup()
8888
// Set a callback to return the SIM state once requested
8989
myModule.setSIMstateReportCallback(&processSIMstate);
9090
// Now enable SIM state reporting for states 0 to 6 (by setting the reporting mode LSb)
91-
if (myModule.setSIMstateReportingMode(1) == UBLOX_AT_SUCCESS)
91+
if (myModule.setSIMstateReportingMode(1) == UBX_CELL_SUCCESS)
9292
Serial.println("SIM state reports requested...");
9393
// You can disable the SIM staus reports again by calling assetTracker.setSIMstateReportingMode(0)
9494
}

src/sfe_lara_r6.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "sfe_ublox_cellular.h"
55

66
// Base LARA-R6 class
7-
class LARA_R6: public UBLOX_AT
7+
class LARA_R6: public UBX_CELL
88
{
99

1010
};

src/sfe_sara_r5.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "sfe_ublox_cellular.h"
55

66
// Base SARA-R5 class
7-
class SARA_R5: public UBLOX_AT
7+
class SARA_R5: public UBX_CELL
88
{
99

1010
};

0 commit comments

Comments
 (0)