Callbacks associated with NimBLEExtAdvertising class.
More...
#include <NimBLEExtAdvertising.h>
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] | instId | 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 |
instId |
|
) |
| |
|
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] | instId | The instance ID of the advertisement that was stopped. |