Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 561 Bytes

File metadata and controls

35 lines (27 loc) · 561 Bytes

libcashcode

C library for communicating with CashCode bill validators over serial port using the CCNET protocol.

Structure

├── inc/
│   ├── cashcode.h
│   └── serial.h
├── src/
│   ├── cashcode.c
│   └── serial.c
├── tests/
│   └── check.c
└── Makefile

Build

make

Usage

./build/check <port> <baud> [noescrow] [hw_serial]
./build/check /dev/ttyUSB0 9600
./build/check /dev/ttyUSB0 9600 noescrow
./build/check /dev/ttyUSB0 9600 SN123456