cancel
Showing results for 
Search instead for 
Did you mean: 

Bluetooth SDK

HyJe_4673431
New Contributor

Hello,

I want to search BR/EDR devices which use limited inquiry access code.

It seems like that setting 'mode' paramter in wiced_bt_dev_inq_parms_t to BTM_LIMITED_INQUIRY when calling wiced_bt_start_inquiry function is releated to inqury access code but I cannot find how to set limited inquiry access code.

I'm using CYW20719B2 and BT SDK v3.1.0.

 

Thanks,

Eric Jeon

0 Likes
2 Replies
AnjanaM_61
Moderator
Moderator

Hi @HyJe_4673431 

Can you please clarify the requirement? Are you looking for an example on how to use BTM_LIMITED_INQUIRY  mode? If then , below is an example usage: 

wiced_bt_dev_inq_parms_t params;

:

:
wiced_bt_set_inquiry_mode (BTM_INQ_RESULT_EXTENDED);


params.mode = BTM_LIMITED_INQUIRY  ;
params.duration = xx; // depends on your application
:

result = wiced_bt_start_inquiry( &params, &hci_control_inquiry_result_cback );
WICED_BT_TRACE( "inquiry started:%d\n", result );

 

Regards,

Anjana

0 Likes
HyJe_4673431
New Contributor

Hi Anjana,

 

Thank you for your reply and example code snippet.

I want to set inquiry access code when doing limited inquiry.

As you know, IAC LAP can be 0x9E8B00 ~ 0x9E8B3F.

 

Regards,

Eric

0 Likes