19 ifx_tapi_fxo_ring_ get, Ifx_tapi_fxo_ring_ get – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual
Page 22
Advertising

73M1866B/73M1966B TAPI High-Level Driver User Guide
UG_1x66B_021
22
Rev. 2.2
3.19 IFX_TAPI_FXO_RING_ GET
Description
Receives ring status from the FXO interface.
#define IFX_TAPI_FXO_RING_GET _IOW(IFX_TAPI_IOC_MAGIC, 0xE0, int)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_FXO_RING_GET,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
IFX_TAPI_FXO_RING_GET
I/O control identifier for this operation.
unsigned long
param
Points to IFX_boolean_t type,indicating
the ringing status of the FXO line.
• IFX_TRUE the line is ringing.
• IFX_FALSE the line is not ringing.
Return Values
Data Type
Description
int
IFX_ERROR – Failed to read ring status.
IFX_SUCCESS – Successful.
Advertising