add reference to hci code for disconnection reason

This commit is contained in:
hathach committed 2018-06-08 11:34:19 +07:00
1 parent fba06f56d4
commit f7ddbbd14c
12 files changed
+44 -6

No files matched your search

@@ -132,7 +132,7 @@ void connect_callback(uint16_t conn_handle)
/**
* Callback invoked when a connection is dropped
* @param conn_handle
* @param reason
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
@@ -188,7 +188,7 @@ void connect_callback(uint16_t conn_handle)
/**
* Callback invoked when a connection is dropped
* @param conn_handle
* @param reason
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
@@ -162,7 +162,7 @@ void connect_callback(uint16_t conn_handle)
/**
* Callback invoked when a connection is dropped
* @param conn_handle
* @param reason
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
@@ -131,7 +131,7 @@ void connect_callback(uint16_t conn_handle)
/**
* Callback invoked when a connection is dropped
* @param conn_handle
* @param reason
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
@@ -199,6 +199,11 @@ void ancs_notification_callback(AncsNotification_t* notif)
}
}
/**
* Callback invoked when a connection is dropped
* @param conn_handle connection where this event happens
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
(void) reason;
@@ -363,6 +363,11 @@ void ancs_notification_callback(AncsNotification_t* notif)
}
}
/**
* Callback invoked when a connection is dropped
* @param conn_handle connection where this event happens
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
(void) conn_handle;
@@ -130,6 +130,11 @@ void connect_callback(uint16_t conn_handle)
Serial.println(central_name);
}
/**
* Callback invoked when a connection is dropped
* @param conn_handle connection where this event happens
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
(void) conn_handle;
@@ -159,7 +159,11 @@ void printTime(void)
Serial.println();
}
/**
* Callback invoked when a connection is dropped
* @param conn_handle connection where this event happens
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
(void) reason;
@@ -176,7 +176,11 @@ void printTime(void)
oled.display();
}
/**
* Callback invoked when a connection is dropped
* @param conn_handle connection where this event happens
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
(void) reason;
@@ -172,6 +172,11 @@ void connect_callback(uint16_t conn_handle)
Serial.println(central_name);
}
/**
* Callback invoked when a connection is dropped
* @param conn_handle connection where this event happens
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
(void) conn_handle;
@@ -156,6 +156,11 @@ void connect_callback(uint16_t conn_handle)
Serial.println(central_name);
}
/**
* Callback invoked when a connection is dropped
* @param conn_handle connection where this event happens
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
(void) conn_handle;
@@ -93,6 +93,11 @@ void connect_callback(uint16_t conn_handle)
Serial.println("Connected");
}
/**
* Callback invoked when a connection is dropped
* @param conn_handle connection where this event happens
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
*/
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
{
(void) conn_handle;