Users Manual Instruction Manual
259
CATC BTTRAINER 2.11 CHAPTER
User’s Manual
L2CAPInfoRequest
L2CAPInfoRequest(Address)
Return values
Returns a list with three values: status, number of bytes, and data.
Status (element 0) is one of the following:
• “Success”
• “Failure”
• “Not found”
• “Not connected”
Number of bytes (element 1) is the number of bytes of data that follow.
Data (element 2) is the raw data.
Comments
Sends an Info Request to the L2CAP protocol on the specified remote
device. Info requests are used to exchange implementation-specific infor-
mation regarding L2CAP’s capabilities.
Example
result = L2CAPInfoRequest('838010AC0008');
Trace("L2CAPInfoRequest result : ", result[0], "\n");
if(result[0] == "Success")
{
Trace("Data length : ", result[1], "\n");
Trace("Data : ", result[2], "\n");
}
L2CAPRegisterPsm
L2CAPRegisterPsm(PSM, ReceiveMTU)
Parameter Meaning Default Value Comments
Address Bluetooth
address of the
remote device
Parameter Meaning Default Value Comments
PSM