EasyManua.ls Logo

Tescom TC-3000C - Page 189

Default Icon
255 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.7 Reference Guide for using DLL
189
Description
This function closes the profile.
Syntax
unsigned long dut_profile_close(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
send_at_command
Description
This function sends an AT command to a headset, a handsfree or audiogateway depending on DUT profile
type.
Syntax
unsigned long send_at_command(char *at_cmd);
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
at_cmd // NULL terminated string of the AT command.
read_num_profile_msg
Description
This function calculates how many profile messages were sent to a DUT and received from the DUT.
Syntax
unsigned long read_num_profile_msg(int *num_prfl_msgs);
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
num_prfl_msgs // a total number of sent and received profile messages.
read_profile_msg
Description
This function reads a profile message which was sent to a DUT or received from the DUT.
Syntax
unsigned long read_profile_msg(char *time, char *tx_rx, char *msg);
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
time // a string of the time when the message was sent/received.
// The size of the string must not be lees than 8.
tx_rx // direction of the message. 0: sent to a DUT, 1: received from a DUT
msg // a string of the message. The size of the string must be sufficient to store full message

Table of Contents

Related product manuals