Obexserverdeinit(), Obexserversetpath(path), Obexserverdeinit() obexserversetpath(path) – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 235

Advertising
background image

219

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

status = OBEXClientSetPath("", 1);

Sleep(1000);

#keep path at <root>\temp2 (assuming <root>\temp2\temp4

doesn't exist)

status = OBEXClientSetPath("temp4", 2);

Sleep(1000);

#set path to <root>\temp3\temp4

status = OBEXClientSetPath("temp3\\temp4", 1);

OBEXServerDeinit()

OBEXServerDeinit()

Return value

“Success”

“Failure”

“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”

Parameter

Meaning

Default Value

Comments

N/A

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

Advertising