3 ifx tapi ioctl commands description, Ifx tapi ioctl commands description, Table 1: summary of ifx tapi ioctls – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual
Page 8
73M1866B/73M1966B TAPI High-Level Driver User Guide
UG_1x66B_021
8
Rev. 2.2
3 IFX TAPI IOCTL Commands Description
Once the driver is successfully opened the application can control the operation of the device and the
FXO channel. The application in user space communicates with the driver via standard Linux driver
interface IOCTL calls. The following sections describe the detail of each IOCTL command.
Some commands pertain to device level configuration such as PCM interface parameters; these must be
called using device descriptor, while others are channel level commands and must be called using
specific channel descriptor, if more than one channel is active. Table 1 provides a summary of the
IOCTLs.
Table 1: Summary of IFX TAPI IOCTLs
IOCTL Name
Description
Descriptor
Initializing FXO channel for operation.
Channel
Set PCM interface configuration.
Device
Set PCM configuration.
Channel
Retrieve PCM configuration.
Channel
Activate/Deactivate PCM channel.
Channel
Retrieve PCM activation state.
Channel
Enable FXO event detection.
Channel
Disable FXO event detection.
Channel
Retrieve FXO event.
Device
Retrieve driver version number.
Device
Set driver debug message trace mask.
Device
Set line type – must be FXO only.
Channel
Set speaker phone/micro phone volume.
Channel
Issue on/off hook.
Channel
Issue flash hook.
Channel
Configure FXO hook flash parameter.
Channel
Retrieve battery status.
Channel
Retrieve APOH status.
Channel
Retrieve ring status.
Channel
Retrieve line polarity status.
Channel
Retrieve driver last error code.
Device
Enable/Disable FXO channel.
Channel