diff options
author | Dan Williams <dcbw@redhat.com> | 2013-01-17 11:39:23 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-02-06 11:57:00 -0600 |
commit | 74e94e624da0c86561436029922654bff0bf8884 (patch) | |
tree | 3efd6f8c9f945298658688f577b86cdcb9057820 /libqcdm/src/dm-commands.h | |
parent | bf07f02cffa4d3b33830ff85599e0ef6717858ae (diff) |
qcdm: add Novatel ERI subsystem support
Returns various ERI information like Indicator ID/Index, Icon
ID/Index, Icon Mode, and banner.
Diffstat (limited to 'libqcdm/src/dm-commands.h')
-rw-r--r-- | libqcdm/src/dm-commands.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h index 36105136..d0966258 100644 --- a/libqcdm/src/dm-commands.h +++ b/libqcdm/src/dm-commands.h @@ -473,7 +473,7 @@ struct DMCmdSubsysNwSnapshotRsp { u_int8_t response_code; u_int32_t bitfield1; u_int32_t bitfield2; - u_int8_t data[100]; + u_int8_t data[100]; /* DMCmdSubsysNwSnapshotCdma */ } __attribute__ ((packed)); typedef struct DMCmdSubsysNwSnapshotRsp DMCmdSubsysNwSnapshotRsp; @@ -502,6 +502,27 @@ struct DMCmdSubsysNwSnapshotCdma { } __attribute__ ((packed)); typedef struct DMCmdSubsysNwSnapshotCdma DMCmdSubsysNwSnapshotCdma; +/* DIAG_SUBSYS_NOVATEL_MODEM_SNAPSHOT response */ +struct DMCmdSubsysNwEriRsp { + DMCmdSubsysHeader hdr; + u_int8_t status; + u_int16_t error; + u_int8_t roam; + u_int8_t eri_header[6]; + u_int8_t eri_call_prompt[38]; + + /* Roaming Indicator */ + u_int8_t indicator_id; + u_int8_t icon_id; + u_int8_t icon_mode; + u_int8_t call_prompt_id; /* Call Guard? */ + u_int8_t alert_id; /* Ringer? */ + u_int8_t encoding_type; + u_int8_t text_len; + u_int8_t text[32]; +} __attribute__ ((packed)); +typedef struct DMCmdSubsysNwEriRsp DMCmdSubsysNwEriRsp; + enum { DIAG_CMD_LOG_CONFIG_OP_GET_RANGE = 0x01, DIAG_CMD_LOG_CONFIG_OP_SET_MASK = 0x03, |