Obexserversetpath(path) – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 243

225
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
•
“Failure”
Comments
Initializes an OBEX server.
Example
result = OBEXServerInit();
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”)