ttwj / BeepBike

C/C++ implementation of CEPAS 2.0 for EZ-Link purse transactions on ESP8266

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BeepBike

Test implementation of CEPAS deduction with ESP8266 board and PN532 NFC chip using EZ-Link Online SAM API

Was originally planned to be used on bike-sharing systems which are unable to accomodate traditional SAM-based terminals

You are recommended to use our modified Adafruit_PN532 library to support ISO1443B (required by CEPAS), https://github.com/zhongfu/Adafruit-PN532

For this implementation, the CEPAS encrypted purse is sent to our middleware which relays to EZ-Link; EZ-Link then replies us with the debit cryptogram which we relay back to the card.

After deduction is completed, the card returns a debit receipt cryptogram which should be subsequently relayed back to EZ-Link for daily settlement (Debit receipt cryptogram upload was not implemented in this code due to commercial constraints)

How do I use it for my own projects?

  1. Purchase the CEPAS specifications from SPRING Singapore, www.singaporestandardseshop.sg, sorry no sharing too :-(
  2. Find EZ-Link’s business/partnerships team and present a business case (number of touchpoints, transaction volume, etc) to request for the online SAM API
  3. Perform certification with EZ-Link (will cost you some money)
  4. Profit(??)

P.S: In Singapore, CEPAS cards are also issued by NETS and TransitLink under NETS FlashPay and Concession respectively, not sure if they have a similar API (you can check with them)

About

C/C++ implementation of CEPAS 2.0 for EZ-Link purse transactions on ESP8266

License:Do What The F*ck You Want To Public License


Languages

Language:C 100.0%