12 ifx_tapi_line_type_set, Ifx_tapi_line_type_set, Ifx_tapi_phone_volume_set – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual
Page 17
Advertising

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
int
chan_fd
Channel descriptor.
int
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
int
IFX_ERROR – Failed to set line type.
IFX_SUCCESS – Successful.
Advertising