ksx6924: add note about cashbee

This commit is contained in:
Michael Farrell 2019-05-15 18:35:34 -04:00
commit 8a3c48ba2d

View file

@ -371,7 +371,12 @@ void KSX6924PrintPurseInfo(const struct ksx6924_purse_info *purseInfo) {
int KSX6924Select( int KSX6924Select(
bool ActivateField, bool LeaveFieldON, bool ActivateField, bool LeaveFieldON,
uint8_t *Result, size_t MaxResultLen, size_t *ResultLen, uint16_t *sw) { uint8_t *Result, size_t MaxResultLen, size_t *ResultLen, uint16_t *sw) {
// T-Money + Snapper
uint8_t aid[] = {0xD4, 0x10, 0x00, 0x00, 0x03, 0x00, 0x01}; uint8_t aid[] = {0xD4, 0x10, 0x00, 0x00, 0x03, 0x00, 0x01};
// Cashbee
//uint8_t aid[] = {0xD4, 0x10, 0x00, 0x00, 0x14, 0x00, 0x01};
return EMVSelect(ECC_CONTACTLESS, ActivateField, LeaveFieldON, aid, return EMVSelect(ECC_CONTACTLESS, ActivateField, LeaveFieldON, aid,
sizeof(aid), Result, MaxResultLen, ResultLen, sw, NULL); sizeof(aid), Result, MaxResultLen, ResultLen, sw, NULL);