Scanning BLE sensors

Hi All,

Sorry for such a very basic question, but I've tried many things and combinations and cannot make this work.

I'm trying to discover BLE sensors using nrf_ble_scan_init but my handler is never called, even though I have two sensors near the board, a ST100.

The current code is:

    ret_code_t          err_code;
    nrf_ble_scan_init_t init_scan;

    memset(&init_scan, 0, sizeof(init_scan));

    err_code = nrf_ble_scan_init(&m_scan, &init_scan, handler);
    APP_ERROR_CHECK(err_code);

Any help is really appreciated.

Thanks in advance,

Andre

Parents Reply Children
Related