5.7 Reference Guide for using DLL
159
Parameter
meas_timeout // Range : 500 ~ 65535, Time Range : 312.5ms ~ 40.96s.
write_meas_to
Description
This function reads the timeout of the measurement command execution in baseband slots (625 us). If the
measurement is not finished during 'meas_timeout' period of time, the Host Controller stops the
measurement and sends the Process Timeout Error code in the Command Complete event.
Syntax
unsigned long write_meas_to( nsigned short meas_timeout);
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
meas_timeout // Range : 500 ~ 65535, Default : 2048, Time Range : 312.5ms ~ 40.96s.
read_link_supervision_to
Description
This function writes the link supervision timeout in baseband slots (625 us). Refer to
write_link_supervision_to for more details.
Syntax
unsigned long read_link_supervision_to(unsigned short link_supervision_timeout);
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
link_supervision_timeout // Range : 1 ~ 65535, Time Range : 0.625ms ~ 40.9s.
// For TC-3000 the link_supervision_timeout should be greater than 1600 (1 s).
write_link_supervision_to
Description
This function reads the link supervision timeout in baseband slots (625 us). The link_supervision_timeout
parameter is used by the master or slave Bluetooth device to monitor link loss. If, for any reason, no
Baseband packets are received from the DUT for a duration longer than the link_supervision_timeout, the
connection is disconnected.
Syntax
unsigned long write_link_supervision_to(unsigned short link_supervision_timeout);
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
link_supervision_timeout // Range : 1 ~ 65535, Default : 3200, Time Range : 0.625ms ~ 40.9s.
// For TC-3000C the link_supervision_timeout should be greater than 1600 (1 s).
read_tester_bdaddr
Description
This function reads Bluetooth Device Address (bdaddr)of a tester. Refer to write_tester_bdaddr for more
details.