Skip to content

Commit 3fa4880

Browse files
committed
add link to disconnect reason
1 parent 9a0da08 commit 3fa4880

File tree

13 files changed

+15
-8
lines changed

13 files changed

+15
-8
lines changed

libraries/Bluefruit52Lib/examples/Central/central_bleuart/central_bleuart.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ void connect_callback(uint16_t conn_handle)
139139
* Callback invoked when a connection is dropped
140140
* @param conn_handle
141141
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
142+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
142143
*/
143144
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
144145
{

libraries/Bluefruit52Lib/examples/Central/central_bleuart_multi/central_bleuart_multi.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ void connect_callback(uint16_t conn_handle)
188188
* Callback invoked when a connection is dropped
189189
* @param conn_handle
190190
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
191+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
191192
*/
192193
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
193194
{

libraries/Bluefruit52Lib/examples/Central/central_custom_hrm/central_custom_hrm.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ void connect_callback(uint16_t conn_handle)
165165
* Callback invoked when a connection is dropped
166166
* @param conn_handle
167167
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
168+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
168169
*/
169170
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
170171
{

libraries/Bluefruit52Lib/examples/Central/central_hid/central_hid.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ void connect_callback(uint16_t conn_handle)
135135
* Callback invoked when a connection is dropped
136136
* @param conn_handle
137137
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
138+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
138139
*/
139140
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
140141
{

libraries/Bluefruit52Lib/examples/Central/central_ti_sensortag_optical/central_ti_sensortag_optical.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ void connect_callback(uint16_t conn_handle)
237237
/**
238238
* Callback invoked when a connection is dropped
239239
* @param conn_handle
240-
* @param reason
240+
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
241+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
241242
*/
242243
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
243244
{

libraries/Bluefruit52Lib/examples/Peripheral/ancs/ancs.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,9 @@ void ancs_notification_callback(AncsNotification_t* notif)
204204

205205
/**
206206
* Callback invoked when a connection is dropped
207-
* @param conn_handle connection where this event happens
207+
* @param conn_handle
208208
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
209+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
209210
*/
210211
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
211212
{

libraries/Bluefruit52Lib/examples/Peripheral/ancs_oled/ancs_oled.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ void ancs_notification_callback(AncsNotification_t* notif)
380380
* Callback invoked when a connection is dropped
381381
* @param conn_handle connection where this event happens
382382
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
383+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
383384
*/
384385
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
385386
{

libraries/Bluefruit52Lib/examples/Peripheral/bleuart/bleuart.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ void connect_callback(uint16_t conn_handle)
130130
* Callback invoked when a connection is dropped
131131
* @param conn_handle connection where this event happens
132132
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
133+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
133134
*/
134135
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
135136
{

libraries/Bluefruit52Lib/examples/Peripheral/client_cts/client_cts.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ void printTime(void)
165165
* Callback invoked when a connection is dropped
166166
* @param conn_handle connection where this event happens
167167
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
168+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
168169
*/
169170
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
170171
{

libraries/Bluefruit52Lib/examples/Peripheral/client_cts_oled/client_cts_oled.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ void printTime(void)
180180
* Callback invoked when a connection is dropped
181181
* @param conn_handle connection where this event happens
182182
* @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h
183+
* https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/ble_hci.h
183184
*/
184185
void disconnect_callback(uint16_t conn_handle, uint8_t reason)
185186
{

0 commit comments

Comments
 (0)