Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_HeartRate_IDB0XA1
Fork of X_NUCLEO_IDB0XA1 by
API for L2CAP layer. More...
Functions | |
| tBleStatus | aci_l2cap_connection_parameter_update_request (uint16_t conn_handle, uint16_t interval_min, uint16_t interval_max, uint16_t slave_latency, uint16_t timeout_multiplier) | 
| Send an L2CAP Connection Parameter Update request from the slave to the master.   | |
| tBleStatus | aci_l2cap_connection_parameter_update_response_IDB05A1 (uint16_t conn_handle, uint16_t interval_min, uint16_t interval_max, uint16_t slave_latency, uint16_t timeout_multiplier, uint16_t min_ce_length, uint16_t max_ce_length, uint8_t id, uint8_t accept) | 
| Accept or reject a connection update.   | |
| tBleStatus | aci_l2cap_connection_parameter_update_response_IDB04A1 (uint16_t conn_handle, uint16_t interval_min, uint16_t interval_max, uint16_t slave_latency, uint16_t timeout_multiplier, uint8_t id, uint8_t accept) | 
| Accept or reject a connection update.   | |
Detailed Description
API for L2CAP layer.
Function Documentation
| tBleStatus aci_l2cap_connection_parameter_update_request | ( | uint16_t | conn_handle, | 
| uint16_t | interval_min, | ||
| uint16_t | interval_max, | ||
| uint16_t | slave_latency, | ||
| uint16_t | timeout_multiplier | ||
| ) | 
Send an L2CAP Connection Parameter Update request from the slave to the master.
- Note:
 - An EVT_BLUE_L2CAP_CONN_UPD_RESP event will be raised when the master will respond to the request (accepts or rejects).
 
- Parameters:
 - 
  
conn_handle Connection handle on which the connection parameter update request has to be sent. interval_min Defines minimum value for the connection event interval in the following manner: connIntervalMin = interval_min x 1.25ms interval_max Defines maximum value for the connection event interval in the following manner: connIntervalMax = interval_max x 1.25ms slave_latency Defines the slave latency parameter (number of connection events that can be skipped). timeout_multiplier Defines connection timeout parameter in the following manner: timeout_multiplier x 10ms.  
- Returns:
 - Value indicating success or error code.
 
Definition at line 29 of file bluenrg_l2cap_aci.c.
| tBleStatus aci_l2cap_connection_parameter_update_response_IDB04A1 | ( | uint16_t | conn_handle, | 
| uint16_t | interval_min, | ||
| uint16_t | interval_max, | ||
| uint16_t | slave_latency, | ||
| uint16_t | timeout_multiplier, | ||
| uint8_t | id, | ||
| uint8_t | accept | ||
| ) | 
Accept or reject a connection update.
- Note:
 - This command should be sent in response to a EVT_BLUE_L2CAP_CONN_UPD_REQ event from the controller. The accept parameter has to be set if the connection parameters given in the event are acceptable.
 
- Parameters:
 - 
  
conn_handle Handle received in EVT_BLUE_L2CAP_CONN_UPD_REQ event. interval_min The connection interval parameter as received in the l2cap connection update request event interval_max The maximum connection interval parameter as received in the l2cap connection update request event. slave_latency The slave latency parameter as received in the l2cap connection update request event. timeout_multiplier The supervision connection timeout parameter as received in the l2cap connection update request event. id Identifier received in EVT_BLUE_L2CAP_CONN_UPD_REQ event. accept - 0x00: The connection update parameters are not acceptable.
 - 0x01: The connection update parameters are acceptable.
 
 
- Returns:
 - Value indicating success or error code.
 
Definition at line 90 of file bluenrg_l2cap_aci.c.
| tBleStatus aci_l2cap_connection_parameter_update_response_IDB05A1 | ( | uint16_t | conn_handle, | 
| uint16_t | interval_min, | ||
| uint16_t | interval_max, | ||
| uint16_t | slave_latency, | ||
| uint16_t | timeout_multiplier, | ||
| uint16_t | min_ce_length, | ||
| uint16_t | max_ce_length, | ||
| uint8_t | id, | ||
| uint8_t | accept | ||
| ) | 
Accept or reject a connection update.
- Note:
 - This command should be sent in response to a EVT_BLUE_L2CAP_CONN_UPD_REQ event from the controller. The accept parameter has to be set if the connection parameters given in the event are acceptable.
 
- Parameters:
 - 
  
conn_handle Handle received in EVT_BLUE_L2CAP_CONN_UPD_REQ event. interval_min The connection interval parameter as received in the l2cap connection update request event interval_max The maximum connection interval parameter as received in the l2cap connection update request event. slave_latency The slave latency parameter as received in the l2cap connection update request event. timeout_multiplier The supervision connection timeout parameter as received in the l2cap connection update request event. min_ce_length Minimum length of connection event needed for the LE connection. 
Range: 0x0000 - 0xFFFF
Time = N x 0.625 msec.max_ce_length Maximum length of connection event needed for the LE connection. 
Range: 0x0000 - 0xFFFF
Time = N x 0.625 msec.id Identifier received in EVT_BLUE_L2CAP_CONN_UPD_REQ event. accept - 0x00: The connection update parameters are not acceptable.
 - 0x01: The connection update parameters are acceptable.
 
 
- Returns:
 - Value indicating success or error code.
 
Definition at line 58 of file bluenrg_l2cap_aci.c.
Generated on Thu Jul 14 2022 01:08:08 by
 1.7.2 
    