User Manual

73M1822/73M1922 Control Module User Guide UG_1x22_053
36 Rev. 1.0
6.3.2 M1X22_ATH1
Description
Issues the off-hook signal to the modem interface.
#define M1X22_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 a 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 M1X22_ATH1,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1X22_ATH1
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type Description
int
Always returns 0.