Skip to content

Commit 9259452

Browse files
committed
Rename classes
1 parent 0995691 commit 9259452

File tree

17 files changed

+352
-350
lines changed

17 files changed

+352
-350
lines changed

examples/Audio_Examples/AudioExample1_PlayTone/AudioExample1_PlayTone.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
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-
UBX_CELL_VOICE_BASE myModule; // This example works with all voice-enabled modules, so this base class can be used
10-
// LARA_R6001 myModule;
11-
// LARA_R6401 myModule;
12-
// LARA_R6801_00B myModule;
9+
SparkFun_ublox_Cellular_Voice myModule; // This example works with all voice-enabled modules, so this base class can be used
10+
// SparkFun_ublox_LARA_R6001 myModule;
11+
// SparkFun_ublox_LARA_R6401 myModule;
12+
// SparkFun_ublox_LARA_R6801_00B myModule;
1313

1414
void setup()
1515
{

examples/Audio_Examples/AudioExample2_Loopback/AudioExample2_Loopback.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
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-
UBX_CELL_VOICE_BASE myModule; // This example works with all voice-enabled modules, so this base class can be used
10-
// LARA_R6001 myModule;
11-
// LARA_R6401 myModule;
12-
// LARA_R6801_00B myModule;
9+
SparkFun_ublox_Cellular_Voice myModule; // This example works with all voice-enabled modules, so this base class can be used
10+
// SparkFun_ublox_LARA_R6001 myModule;
11+
// SparkFun_ublox_LARA_R6401 myModule;
12+
// SparkFun_ublox_LARA_R6801_00B myModule;
1313

1414
void setup()
1515
{

examples/Audio_Examples/AudioExample3_CallControl/AudioExample3_CallControl.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
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-
UBX_CELL_VOICE_BASE myModule; // This example works with all voice-enabled modules, so this base class can be used
10-
// LARA_R6001 myModule;
11-
// LARA_R6401 myModule;
12-
// LARA_R6801_00B myModule;
9+
SparkFun_ublox_Cellular_Voice myModule; // This example works with all voice-enabled modules, so this base class can be used
10+
// SparkFun_ublox_LARA_R6001 myModule;
11+
// SparkFun_ublox_LARA_R6401 myModule;
12+
// SparkFun_ublox_LARA_R6801_00B myModule;
1313

1414
bool callInProgress = false;
1515
bool incomingCall = false;

examples/Example1_DeviceIdentification/Example1_DeviceIdentification.ino

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
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-
UBX_CELL myModule; // This example works with all modules, so the base class can be used
10-
// SARA_R5 myModule; // Base SARA-R5 class
11-
// SARA_R500S myModule;
12-
// SARA_R500S_01B myModule;
13-
// SARA_R500S_61B myModule;
14-
// SARA_R510M8S_61B myModule;
15-
// SARA_R510S myModule;
16-
// LARA_R6 myModule; // Base LARA-R6 class
17-
// LARA_R6001 myModule;
18-
// LARA_R6001D myModule;
19-
// LARA_R6401 myModule;
20-
// LARA_R6401D myModule;
21-
// LARA_R6801_00B myModule;
22-
// LARA_R6801D myModule;
9+
SparkFun_ublox_Cellular myModule; // This example works with all modules, so the base class can be used
10+
// SparkFun_ublox_SARA_R5 myModule; // Base SARA-R5 class
11+
// SparkFun_ublox_SARA_R500S myModule;
12+
// SparkFun_ublox_SARA_R500S_01B myModule;
13+
// SparkFun_ublox_SARA_R500S_61B myModule;
14+
// SparkFun_ublox_SARA_R510M8S_61B myModule;
15+
// SparkFun_ublox_SARA_R510S myModule;
16+
// SparkFun_ublox_LARA_R6 myModule; // Base LARA-R6 class
17+
// SparkFun_ublox_LARA_R6001 myModule;
18+
// SparkFun_ublox_LARA_R6001D myModule;
19+
// SparkFun_ublox_LARA_R6401 myModule;
20+
// SparkFun_ublox_LARA_R6401D myModule;
21+
// SparkFun_ublox_LARA_R6801_00B myModule;
22+
// SparkFun_ublox_LARA_R6801D myModule;
2323

2424
// Map SIM states to more readable strings
2525
String simStateString[] = {

examples/Example2_NetworkInfo/Example2_NetworkInfo.ino

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
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-
UBX_CELL myModule; // This example works with all modules, so the base class can be used
10-
// SARA_R5 myModule; // Base SARA-R5 class
11-
// SARA_R500S myModule;
12-
// SARA_R500S_01B myModule;
13-
// SARA_R500S_61B myModule;
14-
// SARA_R510M8S_61B myModule;
15-
// SARA_R510S myModule;
16-
// LARA_R6 myModule; // Base LARA-R6 class
17-
// LARA_R6001 myModule;
18-
// LARA_R6001D myModule;
19-
// LARA_R6401 myModule;
20-
// LARA_R6401D myModule;
21-
// LARA_R6801_00B myModule;
22-
// LARA_R6801D myModule;
9+
SparkFun_ublox_Cellular myModule; // This example works with all modules, so the base class can be used
10+
// SparkFun_ublox_SARA_R5 myModule; // Base SARA-R5 class
11+
// SparkFun_ublox_SARA_R500S myModule;
12+
// SparkFun_ublox_SARA_R500S_01B myModule;
13+
// SparkFun_ublox_SARA_R500S_61B myModule;
14+
// SparkFun_ublox_SARA_R510M8S_61B myModule;
15+
// SparkFun_ublox_SARA_R510S myModule;
16+
// SparkFun_ublox_LARA_R6 myModule; // Base LARA-R6 class
17+
// SparkFun_ublox_LARA_R6001 myModule;
18+
// SparkFun_ublox_LARA_R6001D myModule;
19+
// SparkFun_ublox_LARA_R6401 myModule;
20+
// SparkFun_ublox_LARA_R6401D myModule;
21+
// SparkFun_ublox_LARA_R6801_00B myModule;
22+
// SparkFun_ublox_LARA_R6801D myModule;
2323

2424
// Map registration status messages to more readable strings
2525
String registrationString[] = {

examples/Example3_RegisterOperator/Example3_RegisterOperator.ino

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
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-
UBX_CELL myModule; // This example works with all modules, so the base class can be used
10-
// SARA_R5 myModule; // Base SARA-R5 class
11-
// SARA_R500S myModule;
12-
// SARA_R500S_01B myModule;
13-
// SARA_R500S_61B myModule;
14-
// SARA_R510M8S_61B myModule;
15-
// SARA_R510S myModule;
16-
// LARA_R6 myModule; // Base LARA-R6 class
17-
// LARA_R6001 myModule;
18-
// LARA_R6001D myModule;
19-
// LARA_R6401 myModule;
20-
// LARA_R6401D myModule;
21-
// LARA_R6801_00B myModule;
22-
// LARA_R6801D myModule;
9+
SparkFun_ublox_Cellular myModule; // This example works with all modules, so the base class can be used
10+
// SparkFun_ublox_SARA_R5 myModule; // Base SARA-R5 class
11+
// SparkFun_ublox_SARA_R500S myModule;
12+
// SparkFun_ublox_SARA_R500S_01B myModule;
13+
// SparkFun_ublox_SARA_R500S_61B myModule;
14+
// SparkFun_ublox_SARA_R510M8S_61B myModule;
15+
// SparkFun_ublox_SARA_R510S myModule;
16+
// SparkFun_ublox_LARA_R6 myModule; // Base LARA-R6 class
17+
// SparkFun_ublox_LARA_R6001 myModule;
18+
// SparkFun_ublox_LARA_R6001D myModule;
19+
// SparkFun_ublox_LARA_R6401 myModule;
20+
// SparkFun_ublox_LARA_R6401D myModule;
21+
// SparkFun_ublox_LARA_R6801_00B myModule;
22+
// SparkFun_ublox_LARA_R6801D myModule;
2323

2424
// Map registration status messages to more readable strings
2525
String registrationString[] = {

examples/Example4_Clock/Example4_Clock.ino

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
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-
UBX_CELL myModule; // This example works with all modules, so the base class can be used
10-
// SARA_R5 myModule; // Base SARA-R5 class
11-
// SARA_R500S myModule;
12-
// SARA_R500S_01B myModule;
13-
// SARA_R500S_61B myModule;
14-
// SARA_R510M8S_61B myModule;
15-
// SARA_R510S myModule;
16-
// LARA_R6 myModule; // Base LARA-R6 class
17-
// LARA_R6001 myModule;
18-
// LARA_R6001D myModule;
19-
// LARA_R6401 myModule;
20-
// LARA_R6401D myModule;
21-
// LARA_R6801_00B myModule;
22-
// LARA_R6801D myModule;
9+
SparkFun_ublox_Cellular myModule; // This example works with all modules, so the base class can be used
10+
// SparkFun_ublox_SARA_R5 myModule; // Base SARA-R5 class
11+
// SparkFun_ublox_SARA_R500S myModule;
12+
// SparkFun_ublox_SARA_R500S_01B myModule;
13+
// SparkFun_ublox_SARA_R500S_61B myModule;
14+
// SparkFun_ublox_SARA_R510M8S_61B myModule;
15+
// SparkFun_ublox_SARA_R510S myModule;
16+
// SparkFun_ublox_LARA_R6 myModule; // Base LARA-R6 class
17+
// SparkFun_ublox_LARA_R6001 myModule;
18+
// SparkFun_ublox_LARA_R6001D myModule;
19+
// SparkFun_ublox_LARA_R6401 myModule;
20+
// SparkFun_ublox_LARA_R6401D myModule;
21+
// SparkFun_ublox_LARA_R6801_00B myModule;
22+
// SparkFun_ublox_LARA_R6801D myModule;
2323

2424
void setup()
2525
{

examples/Example5_Ping/Example5_Ping.ino

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
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-
UBX_CELL myModule; // This example works with all modules, so the base class can be used
10-
// SARA_R5 myModule; // Base SARA-R5 class
11-
// SARA_R500S myModule;
12-
// SARA_R500S_01B myModule;
13-
// SARA_R500S_61B myModule;
14-
// SARA_R510M8S_61B myModule;
15-
// SARA_R510S myModule;
16-
// LARA_R6 myModule; // Base LARA-R6 class
17-
// LARA_R6001 myModule;
18-
// LARA_R6001D myModule;
19-
// LARA_R6401 myModule;
20-
// LARA_R6401D myModule;
21-
// LARA_R6801_00B myModule;
22-
// LARA_R6801D myModule;
9+
SparkFun_ublox_Cellular myModule; // This example works with all modules, so the base class can be used
10+
// SparkFun_ublox_SARA_R5 myModule; // Base SARA-R5 class
11+
// SparkFun_ublox_SARA_R500S myModule;
12+
// SparkFun_ublox_SARA_R500S_01B myModule;
13+
// SparkFun_ublox_SARA_R500S_61B myModule;
14+
// SparkFun_ublox_SARA_R510M8S_61B myModule;
15+
// SparkFun_ublox_SARA_R510S myModule;
16+
// SparkFun_ublox_LARA_R6 myModule; // Base LARA-R6 class
17+
// SparkFun_ublox_LARA_R6001 myModule;
18+
// SparkFun_ublox_LARA_R6001D myModule;
19+
// SparkFun_ublox_LARA_R6401 myModule;
20+
// SparkFun_ublox_LARA_R6401D myModule;
21+
// SparkFun_ublox_LARA_R6801_00B myModule;
22+
// SparkFun_ublox_LARA_R6801D myModule;
2323

2424
String pingMe = ""; // The name of the server we are going to ping
2525

examples/Example6_ReceiveSMS/Example6_ReceiveSMS.ino

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
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-
UBX_CELL myModule; // This example works with all modules, so the base class can be used
10-
// SARA_R5 myModule; // Base SARA-R5 class
11-
// SARA_R500S myModule;
12-
// SARA_R500S_01B myModule;
13-
// SARA_R500S_61B myModule;
14-
// SARA_R510M8S_61B myModule;
15-
// SARA_R510S myModule;
16-
// LARA_R6 myModule; // Base LARA-R6 class
17-
// LARA_R6001 myModule;
18-
// LARA_R6001D myModule;
19-
// LARA_R6401 myModule;
20-
// LARA_R6401D myModule;
21-
// LARA_R6801_00B myModule;
22-
// LARA_R6801D myModule;
9+
SparkFun_ublox_Cellular myModule; // This example works with all modules, so the base class can be used
10+
// SparkFun_ublox_SARA_R5 myModule; // Base SARA-R5 class
11+
// SparkFun_ublox_SARA_R500S myModule;
12+
// SparkFun_ublox_SARA_R500S_01B myModule;
13+
// SparkFun_ublox_SARA_R500S_61B myModule;
14+
// SparkFun_ublox_SARA_R510M8S_61B myModule;
15+
// SparkFun_ublox_SARA_R510S myModule;
16+
// SparkFun_ublox_LARA_R6 myModule; // Base LARA-R6 class
17+
// SparkFun_ublox_LARA_R6001 myModule;
18+
// SparkFun_ublox_LARA_R6001D myModule;
19+
// SparkFun_ublox_LARA_R6401 myModule;
20+
// SparkFun_ublox_LARA_R6401D myModule;
21+
// SparkFun_ublox_LARA_R6801_00B myModule;
22+
// SparkFun_ublox_LARA_R6801D myModule;
2323

2424
void setup()
2525
{

examples/Example7_SendSMS/Example7_SendSMS.ino

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
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-
UBX_CELL myModule; // This example works with all modules, so the base class can be used
10-
// SARA_R5 myModule; // Base SARA-R5 class
11-
// SARA_R500S myModule;
12-
// SARA_R500S_01B myModule;
13-
// SARA_R500S_61B myModule;
14-
// SARA_R510M8S_61B myModule;
15-
// SARA_R510S myModule;
16-
// LARA_R6 myModule; // Base LARA-R6 class
17-
// LARA_R6001 myModule;
18-
// LARA_R6001D myModule;
19-
// LARA_R6401 myModule;
20-
// LARA_R6401D myModule;
21-
// LARA_R6801_00B myModule;
22-
// LARA_R6801D myModule;
9+
SparkFun_ublox_Cellular myModule; // This example works with all modules, so the base class can be used
10+
// SparkFun_ublox_SARA_R5 myModule; // Base SARA-R5 class
11+
// SparkFun_ublox_SARA_R500S myModule;
12+
// SparkFun_ublox_SARA_R500S_01B myModule;
13+
// SparkFun_ublox_SARA_R500S_61B myModule;
14+
// SparkFun_ublox_SARA_R510M8S_61B myModule;
15+
// SparkFun_ublox_SARA_R510S myModule;
16+
// SparkFun_ublox_LARA_R6 myModule; // Base LARA-R6 class
17+
// SparkFun_ublox_LARA_R6001 myModule;
18+
// SparkFun_ublox_LARA_R6001D myModule;
19+
// SparkFun_ublox_LARA_R6401 myModule;
20+
// SparkFun_ublox_LARA_R6401D myModule;
21+
// SparkFun_ublox_LARA_R6801_00B myModule;
22+
// SparkFun_ublox_LARA_R6801D myModule;
2323

2424
void setup()
2525
{

src/SparkFun_u-blox_SARA-R5_Arduino_Library.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include "sfe_sara_r5.h"
2323
#include "sfe_ublox_cellular.h"
2424

25+
#define SARA_R5 SparkFun_ublox_SARA_R5
26+
2527
#define SARA_R5_POWER_PIN -1 // Default to no pin
2628
#define SARA_R5_RESET_PIN -1
2729

src/sfe_lara_r6.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@
55
#include "sfe_ublox_cellular_voice.h"
66

77
// Base LARA-R6 class
8-
class LARA_R6 : public UBX_CELL
8+
class SparkFun_ublox_LARA_R6 : public SparkFun_ublox_Cellular
99
{
1010
};
1111

12-
class LARA_R6001 : public LARA_R6, public UBX_CELL_VOICE<LARA_R6001>
12+
class SparkFun_ublox_LARA_R6001 : public SparkFun_ublox_LARA_R6, public SparkFun_ublox_Cellular_Voice_Base<SparkFun_ublox_LARA_R6001>
1313
{
1414
};
1515

16-
class LARA_R6001D : public LARA_R6
16+
class SparkFun_ublox_LARA_R6001D : public SparkFun_ublox_LARA_R6
1717
{
1818
};
1919

20-
class LARA_R6401 : public LARA_R6, public UBX_CELL_VOICE<LARA_R6401>
20+
class SparkFun_ublox_LARA_R6401 : public SparkFun_ublox_LARA_R6, public SparkFun_ublox_Cellular_Voice_Base<SparkFun_ublox_LARA_R6401>
2121
{
2222
};
2323

24-
class LARA_R6401D : public LARA_R6
24+
class SparkFun_ublox_LARA_R6401D : public SparkFun_ublox_LARA_R6
2525
{
2626
};
2727

28-
class LARA_R6801_00B : public LARA_R6, public UBX_CELL_VOICE<LARA_R6801_00B>
28+
class SparkFun_ublox_LARA_R6801_00B : public SparkFun_ublox_LARA_R6, public SparkFun_ublox_Cellular_Voice_Base<SparkFun_ublox_LARA_R6801_00B>
2929
{
3030
};
3131

32-
class LARA_R6801D : public LARA_R6
32+
class SparkFun_ublox_LARA_R6801D : public SparkFun_ublox_LARA_R6
3333
{
3434
};
3535

0 commit comments

Comments
 (0)