Skip to content

Simple test of Pickering ClientBridge/C++ library on Debian

Notifications You must be signed in to change notification settings

hpaluch-pil/test-cb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pickering ClientBridge/C++ Test program

Here is simple program that uses Pickering ClientBridge C/C++ library.

Setup

Tested OS: Debian 10/amd64

  • Ensure that git and build environment is installed using this command:

    sudo apt-get install build-essential git
  • Download latest ClientBridge binary, for example:

    curl -O http://downloads.pickeringtest.info/downloads/drivers/Sys60/Linux/ClientBridge/Debian/ClientBridge-1.20.0.3-amd64.deb
  • install downloaded binary:

    sudo dpkg -i ClientBridge-1.20.0.3-amd64.deb
  • checkout and build this test program:

    git clone https://github.com/hpaluch-pil/test-cb.git
    cd test-cb
    make

Running

To run this program you need target LXI device or LXI Simulator.

To test card on Bus=1 Slot=15 and LXI IP Address=192.168.10.38 you can use this command:

./TestCB 192.168.10.38 1 15

Example output from above command:

OK: Connected to '192.168.10.38:1024', SESSION=1587630255
OK: OpenSpecifiedCard at Bus=1, Slot=15. CardNum=1
OK: Card on Bus=1, Slot=15 has CardId='40-160-001,1000000,1.01'

Resources

About

Simple test of Pickering ClientBridge/C++ library on Debian

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published