Skip to content

Commit 2505c1b

Browse files
STM32LoRaWAN: Fix comment typos
1 parent 4769b4a commit 2505c1b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/STM32LoRaWAN.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ class STM32LoRaWAN : public Stream {
109109
* string (`String` object or `const char*`), for the EUIs also
110110
* a raw integer (64-bits).
111111
*
112-
* \MKRWANApiDifference{Timeout parameter omitted (also ommited in MKRWAN_v2)}
112+
* \MKRWANApiDifference{Timeout parameter omitted (also omitted in MKRWAN_v2)}
113113
* \MKRWANApiDifference{Added version that accepts uint64_t appEUI}
114114
* \MKRWANApiDifference{Differences in timeout and retry datarate handling}
115115
*
116116
* These methods will perform multiple join attempts and block until
117-
* the join completes succesfully, or a timeout (60 seconds) occurs.
117+
* the join completes successfully, or a timeout (60 seconds) occurs.
118118
*
119119
* There are some subtle differences with MKRWAN in how the join
120120
* process works:
@@ -126,7 +126,7 @@ class STM32LoRaWAN : public Stream {
126126
* - With MKRWAN the module automatically decreases/alternates the
127127
* datarate in a region-specific way for all regions, this
128128
* library uses the configured datarate (with `datarate()`) for
129-
* most regions, but uses fixed datarates (according ot LoRaWAN
129+
* most regions, but uses fixed datarates (according to LoRaWAN
130130
* regional parameters) for US915/AU915/AS923.
131131
* @{ */
132132
bool joinOTAA(const char *appEui, const char *appKey, const char *devEui) { return setDevEui(devEui) && joinOTAA(appEui, appKey); }
@@ -215,7 +215,7 @@ class STM32LoRaWAN : public Stream {
215215
* This blocks until the packet is completely sent an both RX
216216
* windows have been completed.
217217
*
218-
* \return The number of bytes sent when succesful, or -1 when the
218+
* \return The number of bytes sent when successful, or -1 when the
219219
* packet could not be sent. For confirmed packets, also returns -1
220220
* when no confirmation was received (in that case the packet might
221221
* still have been sent correctly).
@@ -263,7 +263,7 @@ class STM32LoRaWAN : public Stream {
263263
virtual int availableForWrite();
264264

265265
/**
266-
* This is a no-op, to send writen data, use endPacket(). \DummyImplementation
266+
* This is a no-op, to send written data, use endPacket(). \DummyImplementation
267267
*/
268268
virtual void flush() { }
269269

@@ -435,7 +435,7 @@ class STM32LoRaWAN : public Stream {
435435

436436
/**
437437
* Returns whether connected to the network (i.e. for OTAA
438-
* a succesfull join exchange has happened, or for ABP session
438+
* a successful join exchange has happened, or for ABP session
439439
* information has been supplied by calling joinABP).
440440
*/
441441
bool connected();
@@ -459,7 +459,7 @@ class STM32LoRaWAN : public Stream {
459459

460460
/** @name Radio / transmission configuration
461461
*
462-
* These methods allow configuring various radio and tranmission
462+
* These methods allow configuring various radio and transmission
463463
* parameters.
464464
*
465465
* @{ */
@@ -620,14 +620,14 @@ class STM32LoRaWAN : public Stream {
620620
* @{ */
621621

622622
/**
623-
* Return the frame counter of the most recent uplink messsage that
623+
* Return the frame counter of the most recent uplink message that
624624
* was completely transmitted (i.e. after the RX windows have
625625
* passed).
626626
*/
627627
int32_t getFCU();
628628

629629
/**
630-
* Return the frame counter of the most recent downlink messsage that
630+
* Return the frame counter of the most recent downlink message that
631631
* was received.
632632
*/
633633
int32_t getFCD();
@@ -697,7 +697,7 @@ class STM32LoRaWAN : public Stream {
697697
* This initiates a single join attempt (one JoinReq message). After
698698
* both receive windows are complete, `busy()` will become false and
699699
* the sketch can call `connected()` to see if the join attempt
700-
* was succesful. If not, it is up to the sketch to decide on
700+
* was successful. If not, it is up to the sketch to decide on
701701
* retries.
702702
*
703703
* \NotInMKRWAN

0 commit comments

Comments
 (0)