C.9 sdp commands, Sdpaddprofileservicerecord(), Sdpqueryprofile() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 263: Sdp commands, Sdpaddprofileservicerecord() sdpqueryprofile()

Advertising
background image

247

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

C.9 SDP Commands

SDPAddProfileServiceRecord()

SDPAddProfileServiceRecord(ServerChannel, Profile)

Return value

“Success”

“Failure”

Comments

Adds a profile to Merlin’s Wand SDP database

Example

SDPAddProfileServiceRecord(rfChannel, "ObjectPush");

SDPQueryProfile()

SDPQueryProfile(Address, Profile)

Parameter

Meaning

Default Value

Comments

Server Channel

RFCOMM

server chan-

nel to accept

incoming con-

nections to
this profile

Use the result from RFRegisterServerChannel()
here

Profile

Name of SDP

profile

Profile can be one of:
“Headset”, “HeadsetAudioGateway”, “Seri-
alPort”, “DialUp”, “FileTransfer”, “Fax”,
“LAN”, “ObjectPush”, “Intercom”, “Cordless”,
“Sync”, “SyncCommand”

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device to

query

Profile

Name of SDP

profile

Profile can be one of:
“Headset”, “HeadsetAudioGateway”, “Seri-
alPort”, “DialUp”, “FileTransfer”, “Object-
Push”, “Intercom”, “Cordless”, “Fax”, “LAN”,
"GN", "PANU", "Printing", "HCRP_Server",
"HCRP_Client", “Sync” or “SyncCommand”

Advertising