This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GATT_CONN_TERMINATE_LOCAL_HOST

hi,there

I met an error in Nordic_HRM examples. The error code is GATT_CONN_TERMINATE_LOCAL_HOST.After the connection is established, you can see the service that has been configured, but it will be automatically disconnected after standing for a while. The log is as follows:

Keil project path:***\nRF51_SDK_10.0.0_dc26b5e\examples\ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu\arm5_no_packs\

For recurrent this problem,we should do something as flows:

1. load the code on github ble_app_t1_plus 

2. unzip the ble_app_t1_plus.7z file to nRF51_SDK_10.0.0_dc26b5e\examples\ble_peripheral\ and copy user_extend folder and main.c to xxxx\nRF51_SDK_10.0.0_dc26b5e\examples\ble_peripheral\ble_app_t1_plus\

3. Open xxx\nRF51_SDK_10.0.0_dc26b5e\examples\ble_peripheral\ble_app_t1_plus\pca10028\s110_with_dfu\arm5_no_packs\ble_app_hrs_s110_with_dfu_pca10028.uvprojx

add: user_extend folder is used to dynamically modify the device broadcast name.

Related