ioctl(ixj, PHONE_RING_CADENCE, iCadence)
Return Value
Returns TRUE if the cadence is accepted.
Parameters
iCadence - A 16 bit bitwise encoded field holding the ring pattern.
Remarks
The bit pattern is read from left to right. Each bit represents a 500 millisecond (half second) interval. If the bit is set, ring cadence voltage will be asserted. If the bit is 0, no voltage occurs. As an example, US ring pattern is 2 seconds on, 4 seconds off, repeat. This is represented as 0xF00F00F0.
See Also:
PHONE_RING_START, PHONE_RING_STOP
Example:
ioctl(ixj, PHONE_RING_CADENCE, dwUSRing); ioctl(ixj, PHONE_RING_START); printf("Press enter to stop ringing\n"); getchar();
©1996-2001 Quicknet Technologies, Inc.