'\" t .\" Title: obex_test .\" Author: Hendrik Sattler .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 07/26/2016 .\" Manual: User commands .\" Source: openobex .\" Language: English .\" .TH "OBEX_TEST" "1" "07/26/2016" "openobex" "User commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" obex_test \- interactive test application for the openobex library .SH "SYNOPSIS" .HP \w'\fBobex_test\fR\ 'u \fBobex_test\fR [[\fB\-s\fR\ \fIport\fR] | [\fB\-r\fR\ \fIport\fR] | [\fB\-i\fR] | [\fB\-b\fR\ \fI[address]\fR\ \fI[channel]\fR] | [\fB\-u\fR\ \fIinterface\fR]] .SH "DESCRIPTION" .PP obex_test is a test application for the openobex library\&. It uses an interactive mode but the access method is selcted with command line arguments\&. .PP This program is designed to be an example application for the openobex library\&. .SH "OPTIONS" .PP \fB\-s\fR .RS 4 This is the default\&. It selects cable obex\&. The port argument is optional (default: /dev/ttyS0) .RE .PP \fB\-r\fR .RS 4 Select cable obex for the Ericsson R320 mobile phone\&. The port argument is optional (default: /dev/ttyS0) .RE .PP \fB\-i\fR .RS 4 Select obex over IrDA\&. .RE .PP \fB\-b\fR .RS 4 Select obex over bluetooth\&. Both, address and channel are actually optional\&. Default channel is 4, default address is ANY\&. .RE .PP \fB\-u\fR .RS 4 Select usb obex (CDC)\&. If the interface argument is omitted, a list of available interface is written to stdout\&. .RE .SH "INTERACTIVE MODE: COMMANDS" .PP \fBc\fR .RS 4 connect to the remote side (client mode) .RE .PP \fBd\fR .RS 4 disconnect from the remote side .RE .PP \fBg\fR .RS 4 issue a GET request .RE .PP \fBp\fR .RS 4 issue a PUT request .RE .PP \fBq\fR .RS 4 quit the program .RE .PP \fBs\fR .RS 4 go into server mode .RE .PP \fBt\fR .RS 4 change the path on the remote side .RE .PP \fBx\fR .RS 4 issue a PUSH request .RE .SH "AUTHOR" .PP \fBHendrik Sattler\fR <\&post@hendrik-sattler.de\&> .RS 4 initial version of manpage .RE