Skip to content

ThomasRinsma/pyxdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyxdl

An open implementation of Verifone's XDL protocol, as used by POS devices like the VX820 and the E355, and probably many more.

This file can be used as a stand-alone tool or as a library.

Stand-alone

Example, sending a file and setting a config variable:

python xdl.py -d /dev/ttyUSB0 -c '*GO=HELLO.BIN' HELLO.BIN

Library

Example:

from xdl import XDL

some_file = "HELLO.BIN"

xdl = XDL(port="/dev/ttyUSB0")
xdl.connect()
xdl.set_config_var("*GO", some_file)
xdl.send_file(some_file)
xdl.stop()

About

Python implementation of the XDL protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages