cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

YaTr_3516311
New Contributor II

Hi,

I'm doing listen function as wiced_bt_ble_scan ( )  Refer to wiced_bt_ble.h file in WICED SDK. When I'm testing this function. I find device cannot scan the module which with the ezserial_343026-CYBT_343026_EVAL-rom-ram-Wiced-release FW.

I upgrage my custome FW to EVAL board which have the listen function. And I used another CYBT_343026 module with ezserial_343026-CYBT_343026_EVAL-rom-ram-Wiced-release FW. Power on the module and EVAL board. EVAL board cannot find the module, but it can find other devices(because I print "Found Device " in log).

1. I don't know why.

2. I need to let EVAL board to list the find device and I think the finded data will be include UUID major,minor data(because CYBT_343026 module have set UUID...), is this data in p_adv_data of ibeacon_client_scan_result_cback?

pastedImage_5.png

pastedImage_8.png

pastedImage_12.png

0 Likes
4 Replies
AnjanaM_61
Moderator
Moderator

Hi treacy.yao_3516311

1. Can you please confirm if you have just downloaded the Ez-Serial platform on the ibeacon device or you enabled advertising as well?

   Check on your mobile phone if you are receiving the adv packet from your device. If not enabled advertising, please do it .

2. Yes, you can list the adv data in the scan result call back. Refer hello_client (/20706-A2_Bluetooth/apps/demo/hello_client) example in WICED for reference.

Thanks,
Anjana

0 Likes
YaTr_3516311
New Contributor II

Dear AnjanaM,

1. I have confirmed that CYBT_343026 module can be scanned in my iphone with APP, but the EVAL board with my custome cannot scanned it.

CYBT_343026 module with Ez-Serial FW should enable advertising? I think this FW have enabled it with default because my iPhone with APP can scanned it.

BR,

Treacy

0 Likes
YaTr_3516311
New Contributor II

Dear AnjanaM,

I need to update my testing result here. EVAL board can scanned the CYBT_343026 module with Ez-Serial FW. But after I set below cmd to CYBT_343026 module, EVAL board cannot scanned it then. So my customed FW for EVAL is no problem, the problem is my settings for CYBT_343026 module(But iphone APP can scanned CYBT_343026 module though I setted as below). But why? I need to fix it, then I can check the scanned result data is OK or not

Below are my settings for the CYBT_343026 module

/AX

SAP,T=03,H=2BC0,D=0,F=2

SAD,D=17FF01020304050607080910111213141516aaaa1010

/A

And after /A, I can see "@E,000E,ASC,S=01,R=00"

BR,

Treacy

0 Likes
AnjanaM_61
Moderator
Moderator

Hi Treacy,

I think you modified the code from hello_client example. In the Client application, in ibeacon_client_scan_result_cback there is a  check of received adv data with hello sensor UUID. So that it will only display those devices which advertises with particular UUID.

Please modify it and test.

You can refer to the attached project code.

Thanks,
Anjana

0 Likes