This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE Central device functionalities

Hello,

 

I am using nRF52840, SDK_16.0.0, SoftDevice S140 V7.0.1.

 

Till now I am using ‘ble_app_blinky’ example code, modified to my custom profile and tested On/Off using nRF Connect mobile app.

Since “LE Coded PHY” is not supported on most of the mobile phoned, I need to use Nordic device as BLE central. BLE Central is connect to other chip running with Android OS via UART.

Now BLE central should scan all advertising devices, connect to a specific device and send On/Off command.

 

1) Whether can I use “\examples\ble_central\ble_app_blinky_c\” to do this. Whether it can scan all devices (Should not filter based on Name, Address etc…).

    a) Whether any handler can be used to display list of all scanned devices.

    b) To my understanding I need to use NRF_BLE_SCAN_ALL_FILTER rather than NRF_BLE_SCAN_NAME_FILTER as we are using AltBeacon format.

 

2) If I want to filter based on address whether can I give SCAN_ADDR_FILTER.

    a) Is it same as “White list” feature.

 

3) Even I am looking into "ble_app_interactive". But this has lot other interfaces. Your inputs please.

Thanks & Regards

Vishnu Beema

Parents
  • Thank you Simon.

    1) In AltBeacon, device name will not be populated as part of Advertisement packet. So I need to filter based on MAC address. So in this case can I use SCAN_ADDR_FILTER ?

    2) In Interactive example all details are printed on Terminal in ASCII format. Whether can I disable the response in ASCII format and directly pass the response over uart to my application.

    Thanks & Regards

    Vishnu Beema

Reply
  • Thank you Simon.

    1) In AltBeacon, device name will not be populated as part of Advertisement packet. So I need to filter based on MAC address. So in this case can I use SCAN_ADDR_FILTER ?

    2) In Interactive example all details are printed on Terminal in ASCII format. Whether can I disable the response in ASCII format and directly pass the response over uart to my application.

    Thanks & Regards

    Vishnu Beema

Children
No Data
Related