5.7 Reference Guide for using DLL
175
Syntax
unsigned long write_dut_test_mode(unsigned char test_mode);
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
test_mode // 1:Transmitter test, 2:Loopback test, 4: Null packet test
read_connect_before_test
Description
This function reads the flag which defines whether connection (LMP level) should be created before
activation the test mode of the DUT.
Syntax
unsigned long read_connect_before_test(char *cr_con);
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
cr_con // 0:Set test mode at once after paging, 1: Create connection.
write_connect_before_test
Description
This function writes the flag which defines whether connection (LMP level) should be created before
activation the test mode of the DUT.
Syntax
unsigned long write_connect_before_test(char cr_con);
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
cr_con // 0:Set test mode at once after paging, 1: Create connection.
read_dut_bdaddr
Description
This function reads Bluetooth Device Address (bdaddr)of a DUT. Refer to write_tester_bdaddr for more
details.
Syntax
unsigned long read_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.
write_dut_bdaddr
Description
This function writes Bluetooth Device Address (bdaddr)of a DUT. The function should be called only in the
case if the DUT does not support inquiry. Use the function write_dut_inq_sup()to set the flag that the DUT