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 :
13471347 * @return The current GAP state of the device.
13481348 *
13491349 * @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.
13521353 */
13531354 MBED_DEPRECATED_SINCE (
13541355 " mbed-os-5.11.0" ,
13551356 " 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."
13571359 )
13581360 GapState_t getState(void ) const ;
13591361
You can’t perform that action at this time.
0 commit comments