I want to realize a function that HCI uart receive define string command to do related operation. For example, HCI uart receive "scan" command, then device will call the wiced_bt_ble_scan( BTM_BLE_SCAN_TYPE_HIGH_DUTY, WICED_TRUE, ibeacon_client_scan_result_cback ); API. Can this function be available? Because I see the example of HCI uart, it recieve and done HCI command(which have 5 byte head command). If I don't want to use HCI command, just use my defined string command, Is it ok? How to do this function?
You can send data via HCI UART using HCI raw mode: How to Use HCI Raw Data Mode in CYW20706 - KBA225970
Then you can start scanning the devices. However, we have not checked this functionality internally so cannot confirm if this functionality can be achieved.