User Manual

Table Of Contents
215
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
Example
result = OBEXClientDeinit();
OBEXClientDisconnect()
OBEXClientDisconnect()
Return value
“Success”
“Failure”
“Failed: Busy”
“Failed: Not connected”
“Failed: Packet too small”
Comments
Breaks the current OBEX client connection.
Example
result = OBEXClientDisconnect();
OBEXClientGet()
OBEXClientGet(RemotePath, LocalPath)
Return value
“Success”
Parameter Meaning Default Value Comments
N/A
Parameter Meaning Default Value Comments
RemotePath Path and name
of object to be
retrieved from
server.
Path is relative to server’s OBEX directory.
Example: If the OBEX directory is C:\temp, a
RemotePath of “file.txt” would cause the client
to retrieve “C:\temp\file.txt”
LocalPath Path and name
of object to be
created on cli-
ent.
RemotePath
argument
If omitted, object will be stored to the local
OBEX directory with the name it has on the
server.
If specified as a relative path (i.e., without a drive
letter), the path will be considered relative to the
OBEX directory.
If specified as a full path (i.e., with a drive letter),
the object will be stored to the exact name and
path specified.