Skip to content

Commit 91fa78d

Browse files
author
Amanda Butler
authored
Copy edit GapScanningParams.h
Copy edit, mostly for consistent tense across documents.
1 parent 9052cf4 commit 91fa78d

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

features/FEATURE_BLE/ble/GapScanningParams.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
/**
2828
* Parameters defining the scan process.
2929
*
30-
* The scan procedure is defined by four distinct parameters:
31-
* - Scan window: Period during which the scanner listen to advertising
32-
* channels. That value shall be in the range 2.5ms to 10.24s. This value
30+
* Four distinct parameters define the scan procedure:
31+
* - Scan window: Period during which the scanner listens to advertising
32+
* channels. That value is in the range of 2.5ms to 10.24s. This value
3333
* can be set at construction time, updated by calling setWindow() and
3434
* retrieved by invoking getWindow().
3535
*
36-
* - Scan interval: interval between the start of two consecutive scan window.
36+
* - Scan interval: Interval between the start of two consecutive scan windows.
3737
* That value shall be greater or equal to the scan window value. The
3838
* maximum allowed value is 10.24ms. The scan interval value can be set at
3939
* construction time, updated with a call to setInterval() and queried by a
@@ -43,15 +43,15 @@
4343
* construction time, updated with setTimeout() and obtained from
4444
* getTimeout().
4545
*
46-
* - Active scanning: If set then the scanner sends scan requests to scanable
46+
* - Active scanning: If set, then the scanner sends scan requests to a scannable
4747
* or connectable advertiser. Advertisers may respond to the scan request
48-
* by a scan response containing the scan response payload. If not set then
48+
* by a scan response containing the scan response payload. If not set, then
4949
* the scanner does not send any request. This flag is set at construction
5050
* time, may be updated with the help of setActiveScanning() and retrieved
5151
* by getActiveScanning().
5252
*
53-
* @note If the scan windows duration is equal to the scan interval then the
54-
* device should listen continuously during the scan procedure.
53+
* @note If the scan window's duration is equal to the scan interval, then the
54+
* device listens continuously during the scan procedure.
5555
*/
5656
class GapScanningParams {
5757
public:
@@ -90,18 +90,18 @@ class GapScanningParams {
9090
* Construct an instance of GapScanningParams.
9191
*
9292
* @param[in] interval Milliseconds interval between the start of two
93-
* consecutive scan window. The value passed shall be between the scan
93+
* consecutive scan windows. The value passed is between the scan
9494
* window value and 10.24 seconds.
9595
*
96-
* @param[in] window Milliseconds period during which the device should
97-
* listen to advertising channels. The value of the scan window shall be in
98-
* the range 2.5ms to 10.24s.
96+
* @param[in] window Milliseconds period during which the device
97+
* listens to advertising channels. The value of the scan window is in
98+
* the range of 2.5ms to 10.24s.
9999
*
100100
* @param[in] timeout Duration in seconds of the scan procedure. The special
101101
* value 0 may be used when the scan procedure is not time bounded.
102102
*
103-
* @param[in] activeScanning If true then the scanner sends scan requests to
104-
* to scanable or connectable advertiser. Advertisers may respond to the
103+
* @param[in] activeScanning If true, then the scanner sends scan requests to
104+
* to scannable or connectable advertiser. Advertisers may respond to the
105105
* scan request by a scan response containing the scan response payload. If
106106
* false, the scanner does not send any request.
107107
*
@@ -161,7 +161,7 @@ class GapScanningParams {
161161
/**
162162
* Update the active scanning flag.
163163
*
164-
* @param[in] activeScanning Mew boolean value of active scanning.
164+
* @param[in] activeScanning New boolean value of active scanning.
165165
*/
166166
void setActiveScanning(bool activeScanning);
167167

0 commit comments

Comments
 (0)