Callbacks associated with NimBLEExtAdvertising class.
More...
Callbacks associated with NimBLEExtAdvertising class.
◆ onScanRequest()
Handle a scan response request. This is called when a scanning device requests a scan response.
- Parameters
-
[in] | pAdv | A convenience pointer to the extended advertising interface. |
[in] | inst_id | The instance ID of the advertisement that the scan response request was made. |
[in] | addr | The address of the device making the request. |
◆ onStopped()
void NimBLEExtAdvertisingCallbacks::onStopped |
( |
NimBLEExtAdvertising * |
pAdv, |
|
|
int |
reason, |
|
|
uint8_t |
inst_id |
|
) |
| |
|
virtual |
Handle an advertising stop event.
- Parameters
-
[in] | pAdv | A convenience pointer to the extended advertising interface. |
[in] | reason | The reason code for stopping the advertising. |
[in] | inst_id | The instance ID of the advertisement that was stopped. |
Default callback handlers