6. Data Structure Reference
321
Table 44. ToneParm Field Descriptions
Field Description
duration specifies the duration of the tone in 10 ms units. The range is 1 -
65535. Set to -1 to play forever.
freq1 specifies the frequency of the tone. The range is 200 - 3100 Hz.
amp1 specifies the amplitude of the tone. The range is -40 - +3 dB.
freq2 specifies the frequency of the tone. The range is 200-3100 Hz.
amp2 specifies the amplitude of the tone. The range is -40 - +3 dB.
toneOn1 specifies the tone interval, in 10 ms units. The range is 1 - 65535
ms. Set to 1 or greater for continuous tone.
toneOff1 specifies the tone interval, in 10 ms units. The range is 0 - 65534
ms. Set to 0 to play a continuous tone.
reserv1 Reserved for future use
reserv2 Reserved for future use
6.15. USPID_BLK
The USPID_BLK data structure is used to cast terminal initialization event data
after a CCEV_RCVTERMREG_ACK event is received. USPID_BLK contains
the value of a valid User Service Profile Interface.
The data structure is defined as follows:
/* Structure for CCEV_RCVTERMREG_ACK Event /
typedef struct
{
DLINK data_link;
struct
{
byte usid;
byte tid;
byte interpreter;
} uspid;
} USPID_BLK;