5.7 Reference Guide for using DLL
174
links (ACL and SCO) at both Host and Host controller.
Syntax
unsigned long tester_reset(void);
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
void
write_reference_oscillator_type
Description
This function switches between internal and external reference oscillators of a tester. In order to use your 10
MHz reference oscillator, user has to call this function with external reference oscillator parameter.
Syntax
unsigned long write_reference_oscillator_type(unsigned char 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
type // 0:internal reference oscillator(default), 1:external reference oscillator.
5.7.3 DUT Configuration
read_dut_test_mode
Description
This function reads the test mode of the DUT. Refer to write_dut_test_mode for more details.
Syntax
unsigned long read_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
write_dut_test_mode
Description
This function writes the test mode of the DUT. The test mode supports testing of the Bluetooth Transmitter
and Receiver. It is intended mainly for certification/compliance testing of the radio and baseband layer and
may also be used for regulatory approval or acceptance on a HW or SW interface shall be allowed.
For audio testing, test mode parameter of write_DUT_test_mode must be 4(NULL
packet test).