User Manual

Table Of Contents
220
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
“Failed: Busy”
Comments
Deinitializes an OBEX server.
Example
result = OBEXServerDeinit();
OBEXServerSetPath(Path)
OBEXServerSetPath(Path)
Return value
“Success”
“Failure”
“Failed: Device must be initialized as a server”
Comments
Sets the OBEX root directory on a server. This path is accessed by clients
during remote ClientGet and ClientPut operations. The device must
be initialized as a server before the command can be successfully executed.
In the path, be sure to use double-slashes to separate components (e.g.,
“C:\\temp\\temp2”). Using single slashes will cause errors.
Example
status = OBEXServerInit();
if ( status == "Success" )
{
status = OBEXServerSetPath("c:\\temp");
}
Trace("OBEXServerSetPath returned: ", status, "\n\n");
Parameter Meaning Default Value Comments
Path Path to be
used as the
OBEX root
directory on
the server
Path must be fully specified (e.g., “C:\\temp”
rather than “temp”)