@@ -44,8 +44,8 @@ namespace ble {
44
44
* requests to the advertiser that respond with a scan response. It is possible
45
45
* to select what type of address is used to issue the scan request.
46
46
*
47
- * With Bluetooth 5, devices can advertise on more physical channels and by
48
- * extension they can scan on more physical channel . It is possible to define
47
+ * With Bluetooth 5, devices can advertise on more physical channels, and by
48
+ * extension, they can scan on more physical channels . It is possible to define
49
49
* independent scan parameters for every scannable physical channel.
50
50
*/
51
51
class ScanParameters {
@@ -58,7 +58,7 @@ class ScanParameters {
58
58
/* *
59
59
* Construct a phy_configuration_t.
60
60
* @param scan_interval The scan interval.
61
- * @param scan_window The scan window
61
+ * @param scan_window The scan window.
62
62
* @param active_scanning True if scan request should be sent and false
63
63
* otherwise.
64
64
*/
@@ -107,12 +107,12 @@ class ScanParameters {
107
107
};
108
108
109
109
/* *
110
- * Construct a ScanParameters object that operate on a selected phy .
110
+ * Construct a ScanParameters object that operates on a selected PHY .
111
111
*
112
112
* @param phy The phy to configure.
113
113
* @param scan_interval The scan interval.
114
114
* @param scan_window The scan window.
115
- * @param active_scanning active scanning flag
115
+ * @param active_scanning active scanning flag.
116
116
* @param own_address_type Address type used in scan requests.
117
117
* @param scanning_filter_policy Filter applied.
118
118
*/
@@ -159,7 +159,7 @@ class ScanParameters {
159
159
160
160
/* *
161
161
* Set the filter to apply during scanning.
162
- * @param filter_policy The filter to apply during scannong .
162
+ * @param filter_policy The filter to apply during scanning .
163
163
* @return A reference to this object.
164
164
*/
165
165
ScanParameters &setFilter (scanning_filter_policy_t filter_policy)
@@ -177,7 +177,7 @@ class ScanParameters {
177
177
}
178
178
179
179
/* *
180
- * Enable or disable phys that should be used during scanning .
180
+ * Enable or disable PHYs that should be used during scanning.
181
181
* @param enable_1m True to enable the 1M phy and false to disable it.
182
182
* @param enable_coded True to enable the coded phy and false to disable it.
183
183
* @return A reference to this object.
@@ -190,7 +190,7 @@ class ScanParameters {
190
190
}
191
191
192
192
/* *
193
- * Get the phys to use during scanning.
193
+ * Get the PHYs to use during scanning.
194
194
*/
195
195
phy_set_t getPhys () const
196
196
{
@@ -226,7 +226,7 @@ class ScanParameters {
226
226
}
227
227
228
228
/* *
229
- * Set the coded phy scan configuration.
229
+ * Set the coded PHY scan configuration.
230
230
* @param interval The scan interval to use.
231
231
* @param window The scan window to use.
232
232
* @param active_scanning The active scanning flag.
@@ -246,7 +246,7 @@ class ScanParameters {
246
246
}
247
247
248
248
/* *
249
- * Get the coded phy scan configuration.
249
+ * Get the coded PHY scan configuration.
250
250
*/
251
251
phy_configuration_t getCodedPhyConfiguration () const
252
252
{
0 commit comments