From a1111c14e99e17688c237ce2041080fa765425e3 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 12 Aug 2010 20:30:07 +0800 Subject: add support for decoding re-entering of a station When entering, leaving and re-entering the station, a different transaction code (0x80) seems to be used, as opposed to the normal 0x00. I don't really understand why, since at least billing-wise it makes no difference. If you enter and leave without a ride, you still need to pay the fare. However, it might count as a 'connection' similar to the situation when you make a connection from bus to MRT or otherwise. In that case, there is some reduction of the fare price of the second ride. --- easytool/easycard.h | 1 + 1 file changed, 1 insertion(+) (limited to 'easytool/easycard.h') diff --git a/easytool/easycard.h b/easytool/easycard.h index b4d4afc..9d547f8 100644 --- a/easytool/easycard.h +++ b/easytool/easycard.h @@ -4,6 +4,7 @@ #include "utils.h" #define EASY_TT_MRT_ENTER 0x00 +#define EASY_TT_MRT_REENTER 0x80 #define EASY_TT_MRT_EXIT 0x11 #define EASY_TT_PURCHASE 0x20 -- cgit v1.2.3