Why doesn't the scan_evt_handler get called in the ble_app_uart_c sample under nRF5_SDK_17.0.2_d674dde conditions?
I've tried various things, but neither scan_evt_handler nor ble_evt_handler gets called.
Why doesn't the scan_evt_handler get called in the ble_app_uart_c sample under nRF5_SDK_17.0.2_d674dde conditions?
I've tried various things, but neither scan_evt_handler nor ble_evt_handler gets called.
Hello,
Maybe you are doing something similar already to determine whether callback is invoked, but could you try adding the log print line below to your event handler to see if the message gets printed or not?

static void scan_evt_handler(scan_evt_t const * p_scan_evt)
{
ret_code_t err_code;
nrf_gpio_pin_toggle(LED1_PIN); // デバッグ用
NRF_LOG_INFO("scan_evt_handler called, id=%d", p_scan_evt->scan_evt_id);
I'm putting it in.
Did you already have toggling of the LED in this callback?
It is implemented, but it does not enter the `scan_evt_handler`.
Thanks for confirming. This is not a known issue with the ble_app_uart_c project at least. Are you testing with a nordic development kit and do you have any LE devices advertising within range (i.e. do you see devices advertising if you use the nrf connect app)?
Thanks for confirming. This is not a known issue with the ble_app_uart_c project at least. Are you testing with a nordic development kit and do you have any LE devices advertising within range (i.e. do you see devices advertising if you use the nrf connect app)?