aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/dm-commands.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-01-18 17:02:48 -0600
committerDan Williams <dcbw@redhat.com>2012-01-18 17:10:23 -0600
commit04e87e70ff629309413c7426d97457e5c58e19fe (patch)
treee4bb0f68fc68e8617430385adad59b092260c2be /libqcdm/src/dm-commands.h
parente2306a0dd5958ee9fef7305c6e41a0595bbeb3cc (diff)
qcdm: some devices do implement SW_VERSION
Like the MF627 for some reason. Also, the format appears to be more like the DM_CMD_VERSION_INFO response where at least the comp_date and comp_time fields are the same size as VERSION_INFO, just with some padding between.
Diffstat (limited to 'libqcdm/src/dm-commands.h')
-rw-r--r--libqcdm/src/dm-commands.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h
index b803411d..8c1f169e 100644
--- a/libqcdm/src/dm-commands.h
+++ b/libqcdm/src/dm-commands.h
@@ -311,9 +311,11 @@ typedef struct DMCmdStatusRsp DMCmdStatusRsp;
/* DIAG_CMD_SW_VERSION */
struct DMCmdSwVersionRsp {
u_int8_t code;
- char version[20];
+ char version[31];
char comp_date[11];
+ u_int8_t _unknown1[2];
char comp_time[8];
+ u_int8_t _unknown2[2];
} __attribute__ ((packed));
typedef struct DMCmdSwVersionRsp DMCmdSwVersionRsp;