This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TIDC-BLE-TO-WIFI-IOT-GATEWAY: Setting the white list using the NPI interface

Part Number: TIDC-BLE-TO-WIFI-IOT-GATEWAY

Tool/software: Code Composer Studio

Hi!

I would like to use the NPI interface included in the TIDC-BLE_TO_WIFI-IOT-GATEWAY reference design to update the white list. In this way I can filter out the advertising devices that are not in the white list. In the TI_BLE_Vendor_Specific_HCI_Guide the common way to do this would be to use the LE_Add_Device_To_White_List command. However, in the same document the following statement can be found : "Network Processor based designs should use the respective Vendor Extension commands detailed in the following sections to implement an off-chip application." I have searched the a similar command in the Vendor Extension commands without any success. I can see that the use of a white list can be activated by the GAP_DeviceDiscoveryRequest command, but how can I add devices to the list over the NPI interface?

Best regards,

Jan 

  • Hi Jan,

    If you build the host_test project with bond manager (see TOOLS/build_config.opt for the stack project), the default is that bonded devices are added to the whitelist automatically. If you don't, you may use e.g. HCI_LE_AddDeviceToWhiteList and that family of commands. A combination of both will most likely lead to different layers being out of sync with each other.

    The HCI_LE commands are not listed in the Vendor Specific HCI Guide, but you can find and test them in e.g. BTool which is installed with the SDK.

    Best regards,
    Aslak