@@ -1147,7 +1147,7 @@ class Gap {
1147
1147
* invoked with the @p deviceName parameter set to NULL.
1148
1148
*
1149
1149
* @param[out] deviceName Pointer to an empty buffer where the UTF-8
1150
- * <b>non NULL-terminated<b> string is placed.
1150
+ * <b>non NULL-terminated</ b> string is placed.
1151
1151
*
1152
1152
* @param[in,out] lengthP Length of the @p deviceName buffer. If the device
1153
1153
* name is successfully copied, then the length of the device name
@@ -1192,7 +1192,7 @@ class Gap {
1192
1192
/* *
1193
1193
* Get the value of the appearance characteristic in the GAP service.
1194
1194
*
1195
- * @param[out] appearance The current device-appearance value.
1195
+ * @param[out] appearanceP The current device-appearance value.
1196
1196
*
1197
1197
* @return BLE_ERROR_NONE if the device-appearance was fetched correctly
1198
1198
* from the underlying BLE stack.
@@ -1265,8 +1265,6 @@ class Gap {
1265
1265
*
1266
1266
* @return BLE_ERROR_NONE if the implementation's whitelist was successfully
1267
1267
* copied into the supplied reference.
1268
- *
1269
- * @experimental
1270
1268
*/
1271
1269
virtual ble_error_t getWhitelist (Whitelist_t &whitelist) const
1272
1270
{
@@ -1284,7 +1282,7 @@ class Gap {
1284
1282
* populated with the addresses in the given whitelist.
1285
1283
*
1286
1284
* @note The whitelist must not contain addresses of type @ref
1287
- * BLEProtocol::AddressType_t ::RANDOM_PRIVATE_NON_RESOLVABLE. This
1285
+ * BLEProtocol::AddressType ::RANDOM_PRIVATE_NON_RESOLVABLE. This
1288
1286
* results in a @ref BLE_ERROR_INVALID_PARAM because the remote peer might
1289
1287
* change its private address at any time, and it is not possible to resolve
1290
1288
* it.
@@ -1971,14 +1969,14 @@ class Gap {
1971
1969
/* *
1972
1970
* Start the advertising procedure.
1973
1971
*
1974
- * @param[in] Advertising parameters to use.
1972
+ * @param[in] params Advertising parameters to use.
1975
1973
*
1976
1974
* @return BLE_ERROR_NONE if the advertising procedure successfully
1977
1975
* started.
1978
1976
*
1979
1977
* @note Must be implemented in vendor port.
1980
1978
*/
1981
- virtual ble_error_t startAdvertising (const GapAdvertisingParams &) = 0;
1979
+ virtual ble_error_t startAdvertising (const GapAdvertisingParams ¶ms ) = 0;
1982
1980
1983
1981
public:
1984
1982
/* *
@@ -2339,7 +2337,7 @@ class Gap {
2339
2337
*
2340
2338
* @param[in] peerAddr Address of the peer that has emitted the packet.
2341
2339
* @param[in] rssi Value of the RSSI measured for the received packet.
2342
- * @param[in] isScanReponse If true, then the packet is a response to a scan
2340
+ * @param[in] isScanResponse If true, then the packet is a response to a scan
2343
2341
* request.
2344
2342
* @param[in] type Advertising type of the packet.
2345
2343
* @param[in] advertisingDataLen Length of the advertisement data received.
0 commit comments