beautypg.com

Obexclientinit, Obexclientput, Obexclientinit obexclientput – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 239

background image

221

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

OBEXClientGet("file.txt");

#store file to "newfile.txt" in temp dir under OBEX dir

# (i.e., c:\obexdir\temp\newfile.txt)

OBEXClientGet("file.txt", "temp\\newfile.txt");

#store file to "file.txt" in C:\temp

OBEXClientGet("file.txt", "C:\\temp\\file.txt");

#get file from a directory below the server’s OBEX dir,

# and save it with the same name to the same directory

# 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)

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.