Skip to content

Commit 3c40ca2

Browse files
committed
Fix typos
1 parent a20a8ce commit 3c40ca2

File tree

11 files changed

+19
-19
lines changed

11 files changed

+19
-19
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
= {repository-name} Library for Arduino =
66

7-
This library enables an Arduino MKR NB 1500 board to: connect to the internet over a NarrowBand IoT or LTE Cat M1 network.
87
image:https://github.com/{repository-owner}/{repository-name}/workflows/Compile%20Examples/badge.svg["Compile Examples Status", link="https://github.com/{repository-owner}/{repository-name}/actions?workflow=Compile+Examples"]
98
image:https://github.com/{repository-owner}/{repository-name}/workflows/Spell%20Check/badge.svg["Spell Check Status", link="https://github.com/{repository-owner}/{repository-name}/actions?workflow=Spell+Check"]
109

10+
This library enables an Arduino MKR NB 1500 board to connect to the internet over a NarrowBand IoT or LTE Cat M1 network.
1111

1212
For more information about this library please visit us at
1313
https://www.arduino.cc/en/Reference/{repository-name}
@@ -28,4 +28,4 @@ Lesser General Public License for more details.
2828

2929
You should have received a copy of the GNU Lesser General Public
3030
License along with this library; if not, write to the Free Software
31-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

examples/GPRSUdpNtpClient/GPRSUdpNtpClient.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Udp NTP Client
44
55
Get the time from a Network Time Protocol (NTP) time server
6-
Demonstrates use of UDP sendPacket and ReceivePacket
6+
Demonstrates use of UDP write and parsePacket
77
For more on NTP time servers and the messages needed to communicate with them,
88
see http://en.wikipedia.org/wiki/Network_Time_Protocol
99
@@ -81,7 +81,7 @@ void loop()
8181
Udp.read(packetBuffer, NTP_PACKET_SIZE); // read the packet into the buffer
8282

8383
//the timestamp starts at byte 40 of the received packet and is four bytes,
84-
// or two words, long. First, esxtract the two words:
84+
// or two words, long. First, extract the two words:
8585

8686
unsigned long highWord = word(packetBuffer[40], packetBuffer[41]);
8787
unsigned long lowWord = word(packetBuffer[42], packetBuffer[43]);

examples/Tools/NBScanNetworks/NBScanNetworks.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void loop() {
7575
Serial.print("Current carrier: ");
7676
Serial.println(scannerNetworks.getCurrentCarrier());
7777

78-
// returns strength and ber
78+
// returns strength and BER
7979
// signal strength in 0-31 scale. 31 means power > 51dBm
8080
// BER is the Bit Error Rate. 0-7 scale. 99=not detectable
8181
Serial.print("Signal Strength: ");

examples/Tools/PinManagement/PinManagement.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void setup() {
7474
Serial.println("PIN and PUK locked. Use PIN2/PUK2 in a mobile phone.");
7575
while (true);
7676
} else {
77-
// SIM does not requires authetication
77+
// SIM does not requires authentication
7878
Serial.println("No pin necessary.");
7979
auth = true;
8080
}
@@ -97,13 +97,13 @@ void setup() {
9797

9898
void loop() {
9999
// Function loop implements pin management user menu
100-
// Only if you SIM use pin lock, you can change PIN code
101-
// user_op variables save user option
100+
// You can only change PIN code if your SIM uses pin lock
102101

103102
Serial.println("Choose an option:\n1 - On/Off PIN.");
104103
if (PINManager.getPINUsed()) {
105104
Serial.println("2 - Change PIN.");
106105
}
106+
// save user input to user_op variable
107107
String user_op = readSerial();
108108
if (user_op == "1") {
109109
Serial.println("Enter your PIN code:");
@@ -124,7 +124,7 @@ void loop() {
124124
}
125125

126126
/*
127-
Read input serial
127+
Read serial input
128128
*/
129129
String readSerial() {
130130
String text = "";

examples/Tools/SerialSARAPassthrough/SerialSARAPassthrough.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
SerialSARAPassthrough sketch
33
44
This sketch allows you to send AT commands from the USB CDC serial port
5-
of the MKR NB 1500 board to the onboard ublox SARA-R410 celluar module.
5+
of the MKR NB 1500 board to the onboard ublox SARA-R410 cellular module.
66
77
For a list of supported AT commands see:
88
https://www.u-blox.com/sites/default/files/u-blox-CEL_ATCommands_%28UBX-13002752%29.pdf

examples/Tools/TestGPRS/TestGPRS.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
This sketch test the MKR NB 1500 board's ability to connect to a
3+
This sketch tests the MKR NB 1500 board's ability to connect to a
44
GPRS network. It asks for APN information through the
55
serial monitor and tries to connect to example.org.
66
@@ -35,7 +35,7 @@ char url[] = "example.org";
3535
char urlproxy[] = "http://example.org";
3636
char path[] = "/";
3737

38-
// variable for save response obtained
38+
// variable to save obtained response
3939
String response = "";
4040

4141
// use a proxy
@@ -75,7 +75,7 @@ void loop() {
7575
readSerial(proxy);
7676
Serial.println(proxy);
7777

78-
// if user introduced a proxy, asks him for proxy port
78+
// if user introduced a proxy, asks them for proxy port
7979
int pport;
8080
if (proxy[0] != '\0') {
8181
// read proxy port introduced by user
@@ -103,7 +103,7 @@ void loop() {
103103
// make a HTTP 1.0 GET request (client sends the request)
104104
client.print("GET ");
105105

106-
// if use a proxy, the path is example.org URL
106+
// if using a proxy, the path is example.org URL
107107
if (use_proxy) {
108108
client.print(urlproxy);
109109
} else {

examples/Tools/TestModem/TestModem.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void loop() {
5353
modem.begin();
5454
// get and check IMEI one more time
5555
if (modem.getIMEI() != NULL) {
56-
Serial.println("Modem is functoning properly");
56+
Serial.println("Modem is functioning properly");
5757
} else {
5858
Serial.println("Error: getIMEI() failed after modem.begin()");
5959
}

src/NB.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class NB {
4141
start-up. If it is running, it will restart. Takes up to 10
4242
seconds
4343
@param synchronous If TRUE the call only returns after the Start is complete
44-
or fails. If FALSE the call will return inmediately. You have
44+
or fails. If FALSE the call will return immediately. You have
4545
to call repeatedly ready() until you get a result. Default is TRUE.
4646
@return If synchronous, NB_NetworkStatus_t. If asynchronous, returns 0.
4747
*/

src/NBPIN.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void NBPIN::changePIN(String old, String pin)
8282
{
8383
MODEM.sendf("AT+CPWD=\"SC\",\"%s\",\"%s\"", old.c_str(), pin.c_str());
8484
if (MODEM.waitForResponse(10000) == 1) {
85-
Serial.println("Pin changed succesfully.");
85+
Serial.println("Pin changed successfully.");
8686
} else {
8787
Serial.println("ERROR");
8888
}

src/NB_SMS.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class NB_SMS : public Stream {
8080
*/
8181
int peek();
8282

83-
/** Delete the SMS from Modem memory and proccess answer
83+
/** Delete the SMS from Modem memory and process answer
8484
*/
8585
void flush();
8686

0 commit comments

Comments
 (0)