Reference Driver
73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
46 Rev. 2.7
6.3.2 M1966_ATH1
Description
Issues the off-hook signal to the FXO interface.
#define M1966_ATH1 _IOWR(0xA4,0xA2,unsigned int)
Note: The driver provides an option to generate a battery status event upon completion of this off-hook
procedure. This option is controlled by the following macro defined in the drv_config_user.h header
file. By default this macro is disabled:
#define SEND_BAT_STATUS_OFFHOOK
It is envisioned that the application layer will use this event to determine if the call establishment should
be proceeded.
Prototype
int ioctl (
int chan_fd,
int M1966_ATH1,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1966_ATH1
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type Description
int
Always returns 0.