add a comment block for disconnect()
This commit is contained in:
parent
b90cb8766e
commit
38a2037dcb
1 changed files with 8 additions and 0 deletions
|
@ -219,6 +219,14 @@ public:
|
|||
*/
|
||||
ble_error_t stopAdvertising(void);
|
||||
|
||||
/**
|
||||
* This call initiates the disconnection procedure, and its completion will
|
||||
* be communicated to the application with an invocation of the
|
||||
* onDisconnection callback.
|
||||
*
|
||||
* @param reason
|
||||
* The reason for disconnection to be sent back to the peer.
|
||||
*/
|
||||
ble_error_t disconnect(Gap::DisconnectionReason_t reason);
|
||||
|
||||
/* APIs to set GAP callbacks. */
|
||||
|
|
Loading…
Reference in a new issue