beautypg.com

Sdprequestserviceattribute – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 284

background image

266

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Return value

SDP Services

"Failure "

Comments

Locate service records based on a search pattern.

Example

result = SDPRequestServiceSearch(Device[0], 2, 0x1000,

0x1001, 0);

if (result != "Success")

{

Trace("SDPRequestServiceSearch() - Failed. Result=",

result, \n");

}

SDPRequestServiceAttribute

SDPRequestServiceAttribute(Address, ServiceRecordHandle,
AttributesNum, Attribute)

Return value

SDP Attribute values

“Failure”

Comments

Retrieve specified attribute values from a specified service record.

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device to

query

ServiceRecordHandle

Handle of the

record that

holds the

attributes

AttributesNum

Number of

attributes

1

1-3

Attribute1-

Attribute3

Attribute val-

ues to search