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.
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:
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 );
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.