Hallo, hope you are having a good time.
I am using nRF SDK 17.02 and uses SES as an IDE.
Soft device S140 7.2.0
I have an application running which act as a central device. This central device connects and communicate with a single sensor (nrf52840).
In my application on the central side, I need the following feature.
There will be number of central and peripheral devices lying around. Once the central device is connected with a perticular peripheral sensor, i need the central device to scan and try to conenct with the same periipheral device after a power reset. If the central device could not find that perticular device even after 10 seconds, it should be possible to scan for other sensors arround it and establish a connection with one of them.
In my application I uses UUID based filtering.
err_code = nrf_ble_scan_filter_set(&m_scan, SCAN_UUID_FILTER, &m_fm_uuid);
APP_ERROR_CHECK(err_code);
err_code = nrf_ble_scan_filters_enable(&m_scan, NRF_BLE_SCAN_UUID_FILTER, false);
APP_ERROR_CHECK(err_code);
I do not use any sort of whitelisting in my application. Can this feature be added with the help of whitelisting?
I read a lot of forum post but could not find a solution. I would really appreciate your help.
Best regards,
Adarsh