From 26bba7e9ad7fc5f84e3f956e1127591009618d58 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 14 Aug 2010 22:44:17 +0800 Subject: Support the 0x30 (recharge) transaction type --- easytool/data.c | 1 + easytool/easycard.h | 1 + 2 files changed, 2 insertions(+) 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[]; -- cgit v1.2.3