L2capderegisterallpsm(), L2capdisconnectrequest(), L2capderegisterallpsm() l2capdisconnectrequest() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 257
241
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
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");
L2CAPDisconnectRequest()
L2CAPDisconnectRequest(CID)
Return value
•
“Success”
•
“Failure”
•
“Not connected”
Comments
This command is used to disconnect specified L2CAP channel
Parameter
Meaning
Default Value
Comments
N/A
Parameter
Meaning
Default Value
Comments
CID
L2CAP chan-
nel identifier