Skip to content

Commit 3ee8f32

Browse files
authored
Merge pull request #7348 from hasnainvirk/doc_fix
LoRaWAN: Correcting doxygen
2 parents 44acaf5 + aa53ee6 commit 3ee8f32

File tree

2 files changed

+12
-29
lines changed

2 files changed

+12
-29
lines changed

features/lorawan/LoRaWANBase.h

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,9 @@ class LoRaWANBase {
203203
* MSG_CONFIRMED_FLAG = 0x02
204204
* MSG_MULTICAST_FLAG = 0x04
205205
* MSG_PROPRIETARY_FLAG = 0x08
206-
* MSG_MULTICAST_FLAG and MSG_PROPRIETARY_FLAG can be
207-
* used in conjunction with MSG_UNCONFIRMED_FLAG and
208-
* MSG_CONFIRMED_FLAG depending on the intended use.
209-
*
210-
* MSG_PROPRIETARY_FLAG|MSG_CONFIRMED_FLAG mask will set
211-
* a confirmed message flag for a proprietary message.
212-
* MSG_CONFIRMED_FLAG and MSG_UNCONFIRMED_FLAG are
213-
* mutually exclusive.
214206
*
207+
* All flags are mutually exclusive, and MSG_MULTICAST_FLAG
208+
* cannot be set.
215209
*
216210
* @return The number of bytes sent, or
217211
* LORAWAN_STATUS_WOULD_BLOCK if another TX is
@@ -240,14 +234,11 @@ class LoRaWANBase {
240234
* MSG_MULTICAST_FLAG = 0x04,
241235
* MSG_PROPRIETARY_FLAG = 0x08
242236
*
243-
* MSG_MULTICAST_FLAG and MSG_PROPRIETARY_FLAG can be
244-
* used in conjunction with MSG_UNCONFIRMED_FLAG and
245-
* MSG_CONFIRMED_FLAG depending on the intended use.
246-
*
247-
* MSG_PROPRIETARY_FLAG|MSG_CONFIRMED_FLAG mask will set
248-
* a confirmed message flag for a proprietary message.
237+
* All flags can be used in conjunction with
238+
* one another depending on the intended use case or reception
239+
* expectation.
249240
*
250-
* MSG_CONFIRMED_FLAG and MSG_UNCONFIRMED_FLAG are
241+
* e.g., MSG_CONFIRMED_FLAG and MSG_UNCONFIRMED_FLAG are
251242
* not mutually exclusive, i.e., the user can subscribe to
252243
* receive both CONFIRMED AND UNCONFIRMED messages at
253244
* the same time.

features/lorawan/LoRaWANInterface.h

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -301,14 +301,9 @@ class LoRaWANInterface: public LoRaWANBase {
301301
* MSG_CONFIRMED_FLAG = 0x02
302302
* MSG_MULTICAST_FLAG = 0x04
303303
* MSG_PROPRIETARY_FLAG = 0x08
304-
* MSG_MULTICAST_FLAG and MSG_PROPRIETARY_FLAG can be
305-
* used in conjunction with MSG_UNCONFIRMED_FLAG and
306-
* MSG_CONFIRMED_FLAG depending on the intended use.
307304
*
308-
* MSG_PROPRIETARY_FLAG|MSG_CONFIRMED_FLAG mask will set
309-
* a confirmed message flag for a proprietary message.
310-
* MSG_CONFIRMED_FLAG and MSG_UNCONFIRMED_FLAG are
311-
* mutually exclusive.
305+
* All flags are mutually exclusive, and MSG_MULTICAST_FLAG
306+
* cannot be set.
312307
*
313308
*
314309
* @return The number of bytes sent, or
@@ -338,14 +333,11 @@ class LoRaWANInterface: public LoRaWANBase {
338333
* MSG_MULTICAST_FLAG = 0x04,
339334
* MSG_PROPRIETARY_FLAG = 0x08
340335
*
341-
* MSG_MULTICAST_FLAG and MSG_PROPRIETARY_FLAG can be
342-
* used in conjunction with MSG_UNCONFIRMED_FLAG and
343-
* MSG_CONFIRMED_FLAG depending on the intended use.
336+
* All flags can be used in conjunction with
337+
* one another depending on the intended use case or reception
338+
* expectation.
344339
*
345-
* MSG_PROPRIETARY_FLAG|MSG_CONFIRMED_FLAG mask will set
346-
* a confirmed message flag for a proprietary message.
347-
*
348-
* MSG_CONFIRMED_FLAG and MSG_UNCONFIRMED_FLAG are
340+
* e.g., MSG_CONFIRMED_FLAG and MSG_UNCONFIRMED_FLAG are
349341
* not mutually exclusive, i.e., the user can subscribe to
350342
* receive both CONFIRMED AND UNCONFIRMED messages at
351343
* the same time.

0 commit comments

Comments
 (0)