I am trying eddystone example from SDK 15, its working fine but once I press the button to enable connecting and function nrf_ble_es_on_start_connectable_advertising(); is called, the application crahes, how can I solve this?
Also how can I set name of the name in the advertising packets?
Thanks in advance
first thing would be to use a 'Debug' build and look at the trace output to see what messages you get ...
or run the code in the debugger, and see where, exactly, it is "crashing" - and if there are any error codes being returned ...
Think that is the best, it is likely one of the sd_ble_gap_adv_set_configure() or sd_ble_gap_adv_start() that return an error code here. By using 'Debug' should identify file name, line number and error code in app_error_fault_handler().
I traced the code and found it fails at err_code = sd_ble_gap_adv_stop(*mp_adv_handle); this returns 0x00003004
error shows filename es_adv.c on line 161