File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1347,13 +1347,15 @@ class LegacyGap :
1347
1347
* @return The current GAP state of the device.
1348
1348
*
1349
1349
* @deprecated Deprecated since addition of extended advertising support.
1350
- * This is not meaningful when you use extended advertising; please use
1351
- * isAdvertisingActive() and getConnectionCount().
1350
+ * This is not meaningful when you use extended advertising; Please replace
1351
+ * getState().advertising with isAdvertisingActive(), and replace
1352
+ * getState().connected with your own record and update during callbacks.
1352
1353
*/
1353
1354
MBED_DEPRECATED_SINCE (
1354
1355
" mbed-os-5.11.0" ,
1355
1356
" Deprecated since addition of extended advertising support. "
1356
- " Use isAdvertisingActive() and getConnectionCount()."
1357
+ " Replace getState().advertising with isAdvertisingActive()."
1358
+ " Replace getState().connected with your own record and update during callbacks."
1357
1359
)
1358
1360
GapState_t getState(void ) const ;
1359
1361
You can’t perform that action at this time.
0 commit comments