Users Manual Instruction Manual

255
CATC BTTRAINER 2.11 CHAPTER
Users 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