18 ifx_tapi_fxo_apoh_ get, Ifx_tapi_fxo_apoh_ get – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual
Page 21
Advertising

UG_1x66B_021
73M1866B/73M1966B TAPI High-Level Driver User Guide
Rev. 2.2
21
3.18 IFX_TAPI_FXO_APOH_ GET
Description
Retrieves APOH (another phone off-hook) status of the fxo interface.
#define IFX_TAPI_FXO_APOH_GET _IOW(IFX_TAPI_IOC_MAGIC, 0xDF, int)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_FXO_APOH_GET,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
IFX_TAPI_FXO_APOH_GET
I/O control identifier for this operation.
unsigned long
param
Points to IFX_boolean_t type,
indicating APOH status.
• IFX_TRUE if APOH condition is verified.
• IFX_FALSE otherwise.
Return Values
Data Type
Description
int
IFX_ERROR – Failed to read APOH status.
IFX_SUCCESS – Successful.
Advertising