summaryrefslogtreecommitdiff
path: root/easytool
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-08-17 10:00:47 +0800
committerHarald Welte <laforge@gnumonks.org>2010-08-17 10:00:47 +0800
commitaa0de9c6ae42de1e8528f73af9d99568e7a6aef0 (patch)
tree2fe74d7a30b3c019aec79c7d412cb8bf8e888081 /easytool
parent6ed439ecb8c09465ad4bdce53aaca59e935cbbd9 (diff)
easytool: Add BUS transaction type (we don't know more details)
Diffstat (limited to 'easytool')
-rw-r--r--easytool/data.c1
-rw-r--r--easytool/easycard.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/easytool/data.c b/easytool/data.c
index 9b20930..425f0f2 100644
--- a/easytool/data.c
+++ b/easytool/data.c
@@ -118,6 +118,7 @@ const struct value_string taipei_mrt_stn_id[] = {
/* Easycard Transaction Type names */
const struct value_string easy_tt_names[] = {
{ EASY_TT_MRT_ENTER, "Enter MRT" },
+ { EASY_TT_BUS, "Bus ride" },
{ EASY_TT_MRT_REENTER, "ReEnter MRT" },
{ EASY_TT_MRT_EXIT, "Leave MRT" },
{ EASY_TT_PURCHASE, "Shop Purchase" },
diff --git a/easytool/easycard.h b/easytool/easycard.h
index 8979524..1631c60 100644
--- a/easytool/easycard.h
+++ b/easytool/easycard.h
@@ -6,6 +6,7 @@
#include "utils.h"
#define EASY_TT_MRT_ENTER 0x00
+#define EASY_TT_BUS 0x01
#define EASY_TT_MRT_REENTER 0x80
#define EASY_TT_MRT_EXIT 0x11
#define EASY_TT_PURCHASE 0x20
personal git repositories of Harald Welte. Your mileage may vary