User Manual

Table Of Contents
USER'S AND DEVELOPER'S GUIDE WRAP MULTIRADIO ACCESS SERVER
9.8.3 O
BEXBROWSER
The application "obexbrowser" is an Object Push Profile (ObjP) and File Transfer Profile (FTP)
client, and is shipped with WRAP in both binary form (as it is part of the WRAP platform) and in
source form (at it is a good example of using the WRAP OBEX libraries).
For an outgoing ObjP/FTP call you need to:
1. Make the outgoing RFCOMM call from the Bluetooth server's command socket.
For example: "CALL 00:11:22:33:44:55 3 RFCOMM"
2. Run "obexbrowser" from the command line. It takes two parameters: hostname and
port number. Hostname is usually "localhost" and port number can be read from the
Bluetooth server's "CONNECT"-reply.
For example: "obexbrowser localhost 1024".
"obexbrowser" itself supports all the OBEX commands. See the source code and the Infrared
Data Association's "IrDA Object Exchange Protocol" documentation. The commands
obexbrowser accepts are described in Table 16.
Command Purpose
connect Makes default INBOX connect (Object Push).
connect-ftp Makes connect to FTP UUID.
disconnect Disconnect.
cd/ Setpath to root.
cd path Setpath to path.
cd.. Setpath with backup.
md path Create subdirectory path.
put local remote Put local to remote. Use "-" for local name to
delete remote file.
get local remote Get remote to local.
cat remote Cat remote.
ls Get mime "x-obex/folder-listing" without
filename.
Table 16. Obexbrowser commands.
Example:
Bluetooth server:
S: READY.
C: CALL 00:11:22:33:44:55 3 RFCOMM
S: CALL 0
S: CONNECT 0 RFCOMM 1024
Command line:
C: obexbrowser localhost 1024
C: connect
S: connect=00
Bluegiga Proprietary, Copyright © Bluegiga Technologies 2001-2004 88 (94)