Obexclientinit(), Obexclientput(), Obexclientinit() obexclientput() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 232
216
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
#
below the local OBEX dir (i.e.,
"c:\obexdir\temp\file.txt")
OBEXClientGet("temp\\file.txt");
OBEXClientInit()
OBEXClientInit()
Return value
•
“Success”
Comments
This command is obsolete. It is provided for backward compatibility only.
(The application is initialized as an OBEX client at startup and cannot be
deinitialized.)
Example
result = OBEXClientInit();
OBEXClientPut()
OBEXClientPut(LocalPath, RemotePath)
Return value
•
“Success”
•
“Failure”
•
“Failed: Busy”
•
“Failed: Invalid handle”
Parameter
Meaning
Default Value
Comments
N/A
Parameter
Meaning
Default Value
Comments
LocalPath
Full (not rela-
tive) path and
name of file to
be sent from
client.
RemotePath
Path and name
of object to be
stored on
server.
Name-only
portion of
LocalPath
argument
Path is relative to server’s OBEX directory.
Example: If the server’s OBEX directory is
C:\Temp, a RemotePath of “file.txt” would cause
the server to save the file to “C:\Temp\file.txt”.
Note that you cannot save a file to an absolute
path on the server.