Sdpresetdatabase(), Sdpaddservicerecord(), Sdpresetdatabase() sdpaddservicerecord() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 264

Advertising
background image

248

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

Return value

RFCOMM channel of the requested profile (profile is supported)

“Failure”

Comments

Queries the specified device to see if a profile is supported.

An ACL connection must already be established with the device.

Example

if((RFCommId = SDPQueryProfile(Devices[0], "SerialPort"))

!= "Failure")

{

RFOpenClientChannel(Devices[0], RFCommId);

}

SDPResetDatabase()

SDPResetDatabase()

Return value

“Success”

“Failure”

Comments

Clears all records out of the Merlin’s Wand SDP profile database.

Example

SDPResetDatabase();

SDPAddServiceRecord()

SDPAddServiceRecord(FileName, RecordName, ServerChannel)

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

FileName

String con-

taining the full
path of the file

that contains

the record

Advertising