#include <wanpipe_api_hdr.h>
Public Attributes | |
u_int8_t | event_type |
u_int8_t | mode |
u_int8_t | channel |
u_int8_t | span |
u_int32_t | time_stamp_sec |
u_int32_t | time_stamp_usec |
union { | |
struct { | |
u_int32_t alarm | |
} te1_alarm | |
struct { | |
u_int8_t rbs_bits | |
} te1_rbs | |
struct { | |
u_int8_t state | |
u_int8_t sig | |
} rm_hook | |
struct { | |
u_int8_t state | |
} rm_ring | |
struct { | |
u_int16_t type | |
} rm_tone | |
struct { | |
u_int8_t digit | |
u_int8_t port | |
u_int8_t type | |
} dtmf | |
struct { | |
u_int16_t polarity | |
u_int16_t ohttimer | |
} rm_common | |
struct { | |
u_int16_t status | |
} linkstatus | |
struct { | |
u_int32_t status | |
} serial | |
unsigned char reserved [WAN_MAX_EVENT_SZ_UNION] | |
}; |
Definition at line 60 of file wanpipe_api_hdr.h.
u_int8_t wp_api_event::event_type |
Event Type defined in enum wanpipe_tdm_api_events
Definition at line 62 of file wanpipe_api_hdr.h.
u_int8_t wp_api_event::mode |
Mode (Enable/Disable), WP_TDMAPI_EVENT_DISABLE, WP_TDMAPI_EVENT_ENABLE
Definition at line 63 of file wanpipe_api_hdr.h.
u_int8_t wp_api_event::channel |
TDM channel num, integer from 1 to 32
Definition at line 64 of file wanpipe_api_hdr.h.
u_int8_t wp_api_event::span |
TDM span num, integer from 1 to 255
Definition at line 65 of file wanpipe_api_hdr.h.
u_int32_t wp_api_event::time_stamp_sec |
timestamp in sec
Definition at line 66 of file wanpipe_api_hdr.h.
u_int32_t wp_api_event::time_stamp_usec |
timestamp in microseconds
Definition at line 67 of file wanpipe_api_hdr.h.
u_int32_t wp_api_event::alarm |
contains bit map of T1/E1 alarms
Definition at line 70 of file wanpipe_api_hdr.h.
u_int8_t wp_api_event::rbs_bits |
contains bit map of T1/E1 rbs bits
Definition at line 73 of file wanpipe_api_hdr.h.
u_int8_t wp_api_event::state |
contains rx hook state: WP_TDMAPI_EVENT_RXHOOK_OFF, WP_TDMAPI_EVENT_RXHOOK_ON
Definition at line 76 of file wanpipe_api_hdr.h.
u_int16_t wp_api_event::type |
Ring tone type, enum WP_TDMAPI_EVENT_TONE_xxx
Definition at line 83 of file wanpipe_api_hdr.h.
u_int8_t wp_api_event::digit |
DTMF: digit
Definition at line 86 of file wanpipe_api_hdr.h.
u_int8_t wp_api_event::port |
DTMF: SOUT/ROUT
Definition at line 87 of file wanpipe_api_hdr.h.
u_int8_t wp_api_event::type |
DTMF: PRESET/STOP
Definition at line 88 of file wanpipe_api_hdr.h.
u_int16_t wp_api_event::status |
Link Status (connected/disconnnected)
Definition at line 95 of file wanpipe_api_hdr.h.
u_int32_t wp_api_event::status |
Serial Modem Status: DCD/CTS
Definition at line 98 of file wanpipe_api_hdr.h.
unsigned char wp_api_event::reserved[WAN_MAX_EVENT_SZ_UNION] |
Padding up to WAN_MAX_EVENT_SZ
Definition at line 100 of file wanpipe_api_hdr.h.