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

Device is not advertising when creating custom service using UART service

Hi,

In my application I am creating one more custom service using UART service. I have created new files named ble_nus1.c and ble_nus1.h. In these files I have changed the variable names . But still the device is not advertising when flashing the code.

I am attaching main file and library files here. please can any help me to resolve the issue.

nus_hrs.c

library files:

ble_nus2.c

ble_nus2.h

Parents Reply
  • @Ankush I am using Nrf51 board I am trying to add own custom service in ble_app_uart example (with le_enable_params.common_enable_params.vs_uuid_count = 2) and after loading that hex file, module got reset. I have same problem in "err_code = softdevice_enable(&ble_enable_params);" routine . In addition, i have tried your solution to comment #if (NRF_SD_BLE_API_VERSION == 3) but I faced same issue. Kindly provide the solution.

Children
No Data
Related