beautypg.com

L2capconnectresponse, L2capderegisterallpsm, L2capconnectresponse l2capderegisterallpsm – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 273

background image

255

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

L2CAPConnectResponse

L2CAPConnectResponse(Response)

Return value

“Success”

“Failure”

Comments

This command is used to send an automatic response to an incoming
L2CAP connection request. Execute this command before an incoming
connection request.

Example

L2CAPConnectResponse("Reject_No_Resources");

L2CAPDeregisterAllPsm

L2CAPDeregisterAllPsm()

Return value

“Success”

“Failure”

Comments

This command is used to deregister all registered PSMs identifiers with
L2CAP

Example

result = L2CAPDeregisterAllPsm();

Trace("DeregisterAllPsm : ", result, "\n");

Parameter

Meaning

Default Value

Comments

Response

“Accept”

Possible values:
“Accept”
“Reject_Pending”
“Reject_PSM_Not_Supported”
“Reject_Security_Block”
“Reject_No_Resources”

Parameter

Meaning

Default Value

Comments

N/A