Go to the source code of this file.
§ HANDOVER_CONN_ESTABLISH_WITH_HANDOVER
| #define HANDOVER_CONN_ESTABLISH_WITH_HANDOVER LL_STATUS_ESTABLISH_WITH_HANDOVER |
§ HANDOVER_CONNHANDLE_INVALID
| #define HANDOVER_CONNHANDLE_INVALID LL_CONNHANDLE_INVALID |
§ HANDOVER_DEFAULT_MAX_FAILED_CONN_EVENTS
| #define HANDOVER_DEFAULT_MAX_FAILED_CONN_EVENTS 6 |
§ HANDOVER_HOST_DATA_SIZE
| #define HANDOVER_HOST_DATA_SIZE 0 |
§ HANDOVER_INVALID_DATA_SIZE
| #define HANDOVER_INVALID_DATA_SIZE 0xFFFFFFFF |
§ HANDOVER_SN_MODE_DISCONNECT_IMMED
| #define HANDOVER_SN_MODE_DISCONNECT_IMMED 0 |
§ HANDOVER_SN_MODE_WAIT_CN_STATUS
| #define HANDOVER_SN_MODE_WAIT_CN_STATUS 1 |
§ HANDOVER_TX_BURST_RATIO_DEFAULT_VAL
| #define HANDOVER_TX_BURST_RATIO_DEFAULT_VAL 30 |
§ pfnHandoverStartCNCB_t
| typedef void(* pfnHandoverStartCNCB_t) (uint16_t connHandle, uint32_t status) |
§ pfnHandoverStartSNCB_t
| typedef void(* pfnHandoverStartSNCB_t) (uint16_t connHandle, uint32_t status) |
§ Handover_ApplyCnData()
| void Handover_ApplyCnData |
( |
uint16_t |
connHandle | ) |
|
§ Handover_CloseSN()
Handover_CloseSN
Close the Handover process on the serving node side. If the handover was successful this will cause the serving node to teminate the conenction. Otherwise, it will continue the connection with the peer device.
- Parameters
-
| pParams | - Pointer to the serving node parameters |
| handoverStatus | - TRUE if the candidate was able to follow the handover connection. Otherwise, FALSE |
- Returns
- SUCCESS
-
bleIncorrectMode
-
INVALIDPARAMETER
§ Handover_GetSNDataSize()
Handover_GetSNDataSize
Request the controller data size and returns the sum of the controller and host data size
- Parameters
-
| pParams | - pointer to serving node parameters |
| connHandle | - the connection handle of the requested handover link |
- Returns
- SUCCESS
-
FAILURE
§ Handover_InitCNParams()
Handover_InitCNParams
Initialize the given parameter structure with default values
- Parameters
-
| pParams | - Pointer to the parameters structure |
- Returns
- SUCCESS
-
FAILURE
§ Handover_InitSNParams()
Handover_InitSNParams
Initialize the given parameter structure with default values
- Parameters
-
| pParams | - Pointer to the parameters structure |
- Returns
- SUCCESS
-
FAILURE
§ Handover_RegisterCNCBs()
Handover_RegisterCNCBs
Register the application callback function at the host
- Parameters
-
| pCBs | - pointer to the callback functions |
- Returns
- SUCCESS
-
FAILURE
§ Handover_RegisterSNCBs()
Handover_RegisterSNCBs
Register the application callback function at the host
- Parameters
-
| pCBs | - pointer to the callback functions |
- Returns
- SUCCESS
-
FAILURE
§ Handover_StartCN()
Handover_StartCN
Starts the Handover process on the serving node side. This function will save the application data size and will call the LL command for further handling
: BLE_LOKI-1495
- Parameters
-
| pParams | - Pointer to the candidate node parameters |
- Returns
- SUCCESS
-
bleNoResources
-
bleAlreadyInRequestedMode
-
bleInvalidRange
-
LL_STATUS_SUCCESS
-
LL_STATUS_ERROR_CONNECTION_LIMIT_EXCEEDED
-
LL_STATUS_ERROR_COMMAND_DISALLOWED
-
LL_STATUS_ERROR_BAD_PARAMETER
§ Handover_StartSN()
Handover_StartSN
Starts the Handover process on the serving node side. This function will save the application data size and will call the LL command for further handling
- Parameters
-
| pParams | - Pointer to the serving node parameters |
- Returns
- SUCCESS
-
bleIncorrectMode
-
bleNotConnected
-
bleAlreadyInRequestedMode
-
INVALIDPARAMETER
-
LL_STATUS_SUCCESS
-
LL_STATUS_ERROR_INACTIVE_CONNECTION
-
LL_STATUS_ERROR_COMMAND_DISALLOWED
-
LL_STATUS_ERROR_BAD_PARAMETER
-
LL_STATUS_ERROR_DUE_TO_LIMITED_RESOURCES
NOTE: The caller is responsible to free the pBuf upon failure.