5.7 Reference Guide for using DLL
181
an error code.
Parameter
hc_port // the number of the device's port of a DUT.
write_dut_hc_port
Description
This function writes the number of the device's port (USB, RS-232C...) of a DUT.
Syntax
unsigned long write_dut_hc_port(unsigned char hc_port);
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
hc_port // the number of the device's port of a DUT.
read_dut_hci_tl
Description
This function reads the type of HCI transport layer of a DUT.
Syntax
unsigned long read_dut_hci_tl(unsigned char *hci_tl);
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
hci_tl // 0:None, 1:USB, 2:RS-232C, 4:UART, 8:PCMCIA, 16:TCP/IP
write_dut_hci_tl
Description
This function writes the type of HCI transport layer of a DUT.
Syntax
unsigned long write_dut_hci_tl(unsigned char hci_tl);
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
hci_tl // 0:None, 1:USB, 2:RS-232C, 4:UART, 8:PCMCIA, 16:TCP/IP
read_dut_inq_sup
Description
This function reads the flag whether the DUT supports inquiry. If parameter of this function is 0(the DUT does
not support inquiry), use the function write_dut_bdaddr.
Syntax
unsigned long read_dut_inq_sup(unsigned char *inq_sup);
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.