* nrf5340 - nrf connect 2.0.2
The BLE name of our company's product starts with ABC as below and is followed by a number.
(ABC-0000001 ~ ABC-9999999)
The product we need to develop is to find and connect our product that starts with ABC and advertising_data indicates a specific value.
The first method I tried was to modify the device_found part of the observer example.
but, I couldn't find how to get a advertising_data
err = bt_le_scan_start(&scan_param, device_found);
The second method I tried was the central hr coded example.
BT_SCAN_CB_INIT(scan_cb, scan_filter_match, NULL,scan_connecting_error, scan_connecting);
I tried to get bt_scan_device_info from scan_filter_match for
err = bt_scan_filter_add(BT_SCAN_FILTER_TYPE_UUID, BT_UUID_NUS_SERVICE);
I would like to ask you how we can implement the method we want.
1.How to get advertising_data in the observer example
2.How to add a filter when BLE NAME starts with ABC- in the central hr coded example