Description
provides a command to send/receive bytes to/from a serial port
For more details on how to use this bundle, refer to the /doc/readme.html file embedded in the bundle jarfile.
Contributors
License
Library GNU Public License
Services
Properties
Requirements
Download
Build
Settings
None
Usage
comm list : list the available ports comm 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 comm close : close the current opened port comm send <bytes in hexa> : send message bytes comm binary : switch IO in hex comm ascii : switch IO in ascii comm buffersize <size> : set IO buffer size comm sendurl <url> : send bytes contained at the url comm logfile <filepath> : log received bytes in the file comm iowrapper <classname> : set a wrapper for IO parsing and printing. The class could be exported by a external bundle comm help : display this help
Run the demo
To run the demo of this bundle, enter the commands in the OSCAR shell for the script http://www-adele.imag.fr/~donsez/dev/osgi/script/javaxcomm.txt
Typical Usages
Tested gateways
Versions history
TODO (contributions are welcome)
Links