OW2 :: Aspire RFID :: RXTX Command

Description
provides a command to send/receive bytes to/from a serial/parallel port
For more details on how to use this bundle, refer to the /doc/readme.html file embedded in the bundle jarfile.

Contributors

Version
0.2.0-SNAPSHOT

License
LGPL v2.1

Services

Properties

Requirements

  • gnu.io

  • Build

    1. build with Maven2 "mvn clean package install"

    Settings
    None

    Usage

    rxtx list                  : list the available ports
    rxtx open <portname> <baudrate> <flowctrlin> <flowctrlout> <databits> <stopbits> <parity>
                   flowctrl=None,Xon/XoffOut,Xon/XoffIn,RTS/CTSIn,RTS/CTSOut
                   databits=5,6,7,8
                   stopbits=1,1.5,2
                   parity=None,Odd,Even
                               : open a serial port
    rxtx close                 : close the current opened port
    rxtx send <bytes in hexa>  : send message bytes
    rxtx binary                : switch IO in hex
    rxtx ascii                 : switch IO in ascii
    rxtx buffersize <size>     : set IO buffer size
    rxtx sendurl <url>         : send bytes contained at the url
    rxtx logfile <filepath>    : log received bytes in the file
    rxtx iowrapper <classname> : set a wrapper for IO parsing and printing. The class could be exported by a external bundle
    rxtx help                  : display this help

    Run the demo
    To run the demo of this bundle, enter the commands in the Felix shell for the script rxtx.txt

    Typical Usages

  • debugging programs using gnu.io
  • dump serial port output (GPS, RFID reader, ...)
  • Tested gateways

    Versions history
    Last version is : 0.2.0-SNAPSHOT

    TODO (contributions are welcome)