esp-nimble-cpp
1.4.1
|
Callbacks associated with a BLE client. More...
Public Member Functions | |
virtual void | onConnect (NimBLEClient *pClient) |
Called after client connects. More... | |
virtual void | onDisconnect (NimBLEClient *pClient) |
Called when disconnected from the server. More... | |
virtual bool | onConnParamsUpdateRequest (NimBLEClient *pClient, const ble_gap_upd_params *params) |
Called when server requests to update the connection parameters. More... | |
virtual uint32_t | onPassKeyRequest () |
Called when server requests a passkey for pairing. More... | |
virtual void | onAuthenticationComplete (ble_gap_conn_desc *desc) |
Called when the pairing procedure is complete. More... | |
virtual bool | onConfirmPIN (uint32_t pin) |
Called when using numeric comparision for pairing. More... | |
Callbacks associated with a BLE client.
|
virtual |
Called when the pairing procedure is complete.
[in] | desc | A reference to a NimBLEConnInfo instance containing the peer info. This can be used to check the status of the connection encryption/pairing. |
|
virtual |
Called when using numeric comparision for pairing.
[in] | pin | The pin to compare with the server. |
|
virtual |
Called after client connects.
[in] | pClient | A pointer to the calling client object. |
|
virtual |
Called when server requests to update the connection parameters.
[in] | pClient | A pointer to the calling client object. |
[in] | params | A pointer to the struct containing the connection parameters requested. |
|
virtual |
Called when disconnected from the server.
[in] | pClient | A pointer to the calling client object. |
|
virtual |
Called when server requests a passkey for pairing.