beautypg.com

L2capgroupdestroy – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 276

background image

258

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Return value

Returns a list with the following values: [status, GroupList]

Status (element 0) is one of the following:

·"Success"

·"Timed out"

·"Failed: Not found"

GroupList has a format [Group1…GroupN]

Group has a format [GroupCID, GroupPSM, GroupMember1…Group-
MemberM]

Comments

Returns the list of all registered L2CAP groups for connectionless L2CAP
connections.

Example

result = L2CAPGetRegisteredGroups ();

Trace(result);

L2CAPGroupDestroy

L2CAPGroupDestroy (GroupID)

Return value

"Success"

"Failed"

Comments

Destroys an L2CAP group with the specified GroupID.

Example

GroupID = 0x0001;

result = L2CAPGroupDestroy (GroupID);

Trace(result);

Parameter

Meaning

Default Value

Comments

GroupID

An ID of the

group that is

to be

destroyed.