BeepBike
C/C++ implementation of CEPAS 2.0 for EZ-Link purse transactions on ESP8266
Install / Use
/learn @ttwj/BeepBikeREADME
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?
- Purchase the CEPAS specifications from SPRING Singapore, www.singaporestandardseshop.sg, sorry no sharing too :-(
- 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
- Perform certification with EZ-Link (will cost you some money)
- 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)
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
