can HCI uart receive define string command

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YaTr_3516311
Level 5
Level 5
25 sign-ins First solution authored 100 replies posted

Hi,

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?

pastedImage_0.png

0 Likes
1 Solution
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi YaTr_3516311​,

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.

View solution in original post

1 Reply
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi YaTr_3516311​,

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.