summaryrefslogtreecommitdiff
path: root/easytool/easycard.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-08-15 11:24:26 +0800
committerHarald Welte <laforge@gnumonks.org>2010-08-15 11:24:26 +0800
commitc9601a9576d7a98bbe7322e201fa5e7aec2c03fa (patch)
treed206e8cffe20c61c8566b7e7cafcaf3e2086c260 /easytool/easycard.h
parenta2dbdd6fd606f47838321a3ce9968fc2361ee7f9 (diff)
easytool: Decode the last MRT station entered/left fields
Diffstat (limited to 'easytool/easycard.h')
-rw-r--r--easytool/easycard.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/easytool/easycard.h b/easytool/easycard.h
index fb4d93d..37caf1f 100644
--- a/easytool/easycard.h
+++ b/easytool/easycard.h
@@ -28,6 +28,15 @@ struct easy_sect15blk2 {
uint8_t unknown3;
} __attribute__ ((packed));
+/* Sector 7 */
+struct easy_sect7blk {
+ uint8_t unknown[3];
+ uint8_t value1;
+ uint8_t station_code;
+ uint8_t unknown2[5];
+ uint8_t timestamp[3];
+ uint8_t unknown3[3];
+} __attribute__ ((packed));
/* storage of a transaction log record on the transponder itself */
struct easy_log_rec {
personal git repositories of Harald Welte. Your mileage may vary