- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
ModusToolbox Bluetooth SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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( ¶ms, &hci_control_inquiry_result_cback );
WICED_BT_TRACE( "inquiry started:%d\n", result );
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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