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

Connection between central and peripheral uart example

Hi,

I am working with central and peripheral uart example and facing with connection problem between two boards.After debugging at the central side i am getting error in the line:

err_code = ble_nus_c_tx_notif_enable(p_ble_nus_c); with error code 0x0000008.

At the peripheral side i am getting error at this line : 

p_advertising->evt_handler(p_advertising->adv_evt);

in this function 

if (p_advertising->evt_handler != NULL)
{
p_advertising->evt_handler(p_advertising->adv_evt);
}

in the ble_advertising.c file.

The error code is 0x00002006.

What changes should  i make  to solve this error?

Thank you

Related