diff options
| author | Harald Welte <laforge@gnumonks.org> | 2010-08-14 22:44:17 +0800 | 
|---|---|---|
| committer | Harald Welte <laforge@gnumonks.org> | 2010-08-14 22:44:17 +0800 | 
| commit | 26bba7e9ad7fc5f84e3f956e1127591009618d58 (patch) | |
| tree | ed8bc9a300bd479a648a16b76b3c8d2d4c2ab396 /easytool | |
| parent | 63bfce7655ee367b079c914ecfbfaa73d5ce9169 (diff) | |
Support the 0x30 (recharge) transaction type
Diffstat (limited to 'easytool')
| -rw-r--r-- | easytool/data.c | 1 | ||||
| -rw-r--r-- | easytool/easycard.h | 1 | 
2 files changed, 2 insertions, 0 deletions
diff --git a/easytool/data.c b/easytool/data.c index 4b706a7..35897d5 100644 --- a/easytool/data.c +++ b/easytool/data.c @@ -121,5 +121,6 @@ const struct value_string easy_tt_names[] = {  	{ EASY_TT_MRT_REENTER,	"ReEnter MRT Stn" },  	{ EASY_TT_MRT_EXIT,	"Leave MRT Stn" },  	{ EASY_TT_PURCHASE,	"Shop Purchase" }, +	{ EASY_TT_RECHARGE,	"Recharge" },  	{ 0,			NULL }  }; diff --git a/easytool/easycard.h b/easytool/easycard.h index c421bc2..b47dee9 100644 --- a/easytool/easycard.h +++ b/easytool/easycard.h @@ -7,6 +7,7 @@  #define EASY_TT_MRT_REENTER	0x80  #define EASY_TT_MRT_EXIT	0x11  #define EASY_TT_PURCHASE	0x20 +#define EASY_TT_RECHARGE	0x30  extern const struct value_string easy_tt_names[];  extern const struct value_string taipei_mrt_stn_id[];  | 
