Instruction Manual

UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Driver User Guide
Rev. 2.2 17
3.12 IFX_TAPI_LINE_TYPE_SET
Description
This service configures the line type. Please note that this command only accept FXO line type
(IFX_TAPI_LINE_TYPE_FXO).
#define IFX_TAPI_LINE_TYPE_SET _IOW(IFX_TAPI_IOC_MAGIC, 0x47, int)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_LINE_TYPE_SET,
unsigned long param );
Parameters
Data Type Name Description
chan_fd
Channel descriptor.
IFX_TAPI_LINE_TYPE_SET
I/O control identifier for this operation.
unsigned long param
The parameter is a pointer to an
IFX_TAPI_LINE_TYPE_CFG_t struct.
Return Values
Data Type Description
IFX_ERROR Failed to set line type.
IFX_SUCCESS Successful.