5.7 Reference Guide for using DLL
176
does not support inquiry. Refer to write_tester_bdaddr for more details.
Syntax
unsigned long write_dut_bdaddr(unsigned char *bdaddr);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
bdaddr // Bluetooth Device Address of a DUT.
read_dut_profile_type
Description
This function reads the type of the pfofile. If user want to use BT cell phone with upper layer profile for audio
test, the type of the profile must be audiogateway.
Syntax
unsigned long read_dut_profile_type(char *prof_type);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
prof_type // 0:No profile type, 6: Headset, 14: Handsfree, 20: AudioGateWay
write_dut_profile_type
Description
This function writes the type of the profile. If user want to use BT cell phone with upper layer profile for audio
test, the type of the profile must be audiogateway.
Syntax
unsigned long write_dut_profile_type(char prof_type);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
prof_type // 0: No profile type, 6: Headset, 14: Handsfree(default), 20: AudioGateWay
read_dut_profile_role
Description
This function reads the flag, which defines whether role(either master or slave) should behave the tester
during initialization the AudioGateway profile.
Syntax
unsigned long read_dut_profile_role(char *prof_role);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
prof_role // the role of the profile 0:master, 1:slave.
write_dut_profile_role
Description