Skip to content

Commit 00b1341

Browse files
Amanda ButlerAri Parkkila
authored andcommitted
Copy edit cellular_mux.h
Copy edit, mostly for spelling.
1 parent a302a4b commit 00b1341

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

features/cellular/framework/mux/cellular_mux.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class MuxDataService : public FileHandle
5555

5656
/** Enqueue user data for transmission.
5757
*
58-
* @note: This is API is only meant to be used for the multiplexer (user) data service tx. Supplied buffer can be
58+
* @note: This API is only meant to be used for the multiplexer (user) data service tx. Supplied buffer can be
5959
* reused/freed upon call return.
6060
*
6161
* @param buffer Begin of the user data.
@@ -66,9 +66,9 @@ class MuxDataService : public FileHandle
6666

6767
/** Read user data into a buffer.
6868
*
69-
* @note: This is API is only meant to be used for the multiplexer (user) data service rx.
69+
* @note: This API is only meant to be used for the multiplexer (user) data service rx.
7070
*
71-
* @param buffer The buffer to read in to.
71+
* @param buffer The buffer to read to.
7272
* @param size The number of bytes to read.
7373
* @return The number of bytes read, -EAGAIN if no data available for read.
7474
*/
@@ -79,9 +79,9 @@ class MuxDataService : public FileHandle
7979
* The input parameter can be used or ignored - could always return all events, or could check just the events
8080
* listed in events.
8181
*
82-
* Call is non-blocking - returns instantaneous state of events.
82+
* Call is nonblocking - returns instantaneous state of events.
8383
*
84-
* @param events Bitmask of poll events we're interested in - POLLIN/POLLOUT etc.
84+
* @param events Bitmask of poll events we're interested in - POLLIN/POLLOUT and so on.
8585
* @return Bitmask of poll events that have occurred.
8686
*/
8787
virtual short poll(short events) const;
@@ -166,11 +166,11 @@ class Mux
166166
* @param status Operation completion code.
167167
* @param obj Valid object upon status having MUX_ESTABLISH_SUCCESS, NULL upon failure.
168168
*
169-
* @return MUX_STATUS_SUCCESS Operation completed, check status for completion code.
169+
* @return MUX_STATUS_SUCCESS Operation completed, check status for completion code.
170170
* @return MUX_STATUS_INPROGRESS Operation not started, DLCI establishment already in progress.
171171
* @return MUX_STATUS_INVALID_RANGE Operation not started, DLCI ID not in valid range.
172172
* @return MUX_STATUS_MUX_NOT_OPEN Operation not started, no established multiplexer control channel exists.
173-
* @return MUX_STATUS_NO_RESOURCE Operation not started, dlci_id, or all available DLCI ID resources,
173+
* @return MUX_STATUS_NO_RESOURCE Operation not started, dlci_id or all available DLCI ID resources,
174174
* already in use.
175175
*/
176176
static MuxReturnStatus dlci_establish(uint8_t dlci_id, MuxEstablishStatus &status, FileHandle **obj);
@@ -402,7 +402,7 @@ class Mux
402402

403403
/** Evaluate is DLCI ID in use.
404404
*
405-
* @param dlci_id ID of the DLCI yo evaluate
405+
* @param dlci_id ID of the DLCI to evaluate
406406
*
407407
* @return True if in use, false otherwise.
408408
*/
@@ -428,7 +428,7 @@ class Mux
428428

429429
/** Enqueue user data for transmission.
430430
*
431-
* @note: This is API is only meant to be used for the multiplexer (user) data service tx. Supplied buffer can be
431+
* @note: This API is only meant to be used for the multiplexer (user) data service tx. Supplied buffer can be
432432
* reused/freed upon call return.
433433
*
434434
* @param dlci_id ID of the DLCI to use.
@@ -440,7 +440,7 @@ class Mux
440440

441441
/** Read user data into a buffer.
442442
*
443-
* @note: This is API is only meant to be used for the multiplexer (user) data service rx.
443+
* @note: This API is only meant to be used for the multiplexer (user) data service rx.
444444
*
445445
* @param buffer The buffer to read in to.
446446
* @param size The number of bytes to read.
@@ -480,25 +480,25 @@ class Mux
480480

481481
/** Dispatch TX callback based on supplied bit.
482482
*
483-
* @param bit Bit indetifier of callback to dispatch.
483+
* @param bit Bit identifier of callback to dispatch.
484484
*/
485485
static void tx_callback_dispatch(uint8_t bit);
486486

487-
/** Run main processing loop for resolving pending TX callbacks and dispatching them if they exists.
487+
/** Run main processing loop for resolving pending TX callbacks and dispatching them if they exist.
488488
*/
489489
static void tx_callbacks_run();
490490

491491
/** Get data service object based on supplied bit id.
492492
*
493-
* @param bit Bit indetifier of data service object to get.
493+
* @param bit Bit identifier of data service object to get.
494494
* @return Data service object reference.
495495
*/
496496
static MuxDataService& tx_callback_lookup(uint8_t bit);
497497

498498
/** Get minimum of 2 supplied paramaters.
499499
*
500-
* @param size_1 1st param for comparisation.
501-
* @param size_2 2nd param for comparisation.
500+
* @param size_1 1st param for comparison.
501+
* @param size_2 2nd param for comparison.
502502
* @return Minimum of supplied paramaters.
503503
*/
504504
static size_t min(uint8_t size_1, size_t size_2);

0 commit comments

Comments
 (0)