ioctl(ixj, PHONE_GET_DTMF)
Return Value
Returns an integer code for the DTMF received.
Parameters
None.
Remarks
Returns an integer code for the next DTMF digit stored in the buffer, and removes the digit from the buffer. If there is more than one digit in the buffer then select() will continue asserting the exception on this descriptor, and the driver will continue sending SIGIO signals to the application (if the application is registered for async notifications), and PHONE_DTMF_READY will still return a 1, until the buffer is empty.
Digit Integer code 1-9 returns 1-9 * returns 0x0Ah 0 returns 0x0Bh # returns 0x0Ch A returns 0x1Ch B returns 0x1Dh C returns 0x1Eh D returns 0x1Fh
See Also:
PHONE_DTMF_READY, PHONE_GET_DTMF_ASCII, PHONE_EXCEPTION
Example:
printf("\nDTMF from card 0 = %x",ioctl(ixj, PHONE_GET_DTMF));
©1996-2001 Quicknet Technologies, Inc.