Download UM1755 User manual - STMicroelectronics

Transcript
UM1755
Vendor specific commands
4.2
L2CAP VS commands and events
4.2.1
L2CAP VS commands
Table 6. L2CAP VS commands
Item
4.2.2
Command
CGID
CID
OpCode
1
Connection Parameter Update Request
0x03
0x01
0xFD81
2
Connection Parameter Update Response
0x03
0x02
0xFD82
Aci_L2CAP_Connection_Parameter_Update_Request
Table 7. Aci_L2CAP_Connection_Parameter_Update_Request
Command name
Aci_L2CAP_Connection_Parameter_Update_Request
(0xFD81)
Parameters
Return
Connection handle
Interval min
Interval max
Slave latency
Timeout multiplier
Status
Description:
Send an L2CAP connection parameter update request from the slave to the master.
Table 8. Aci_L2CAP_Connection_Parameter_Update_Requests command
parameters
Parameter
Size
Description
Connection handle
2 bytes
Connection handle of the link which the connection
parameter update request has to be sent
Interval min
2 bytes
Defines minimum value for the connection event interval
in the following manner:
connIntervalMin = Interval Min * 1.25 ms
Interval max
2 bytes
Defines maximum value for the connection event interval
in the following manner:
connIntervalMax = Interval Max * 1.25 ms
Slave latency
2 bytes
Defines the slave latency parameter (as number of LL
connection events)
Timeout multiplier
2 bytes
Defines connection timeout parameter in the following
manner: Timeout Multiplier * 10 ms
DocID026257 Rev 3
23/131
131