Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Typedefs | Enumerations | Variables
dm_conn.h File Reference

DM connection management module. More...

#include "dm_api.h"

Go to the source code of this file.

Data Structures

struct  dmConnApiOpen_t
 
struct  dmConnApiClose_t
 
struct  dmConnApiUpdate_t
 
struct  dmConnL2cUpdateInd_t
 
struct  dmConnL2cUpdateCnf_t
 
union  dmConnMsg_t
 
struct  dmConnApiFeat_t
 
struct  dmConnApiReadRssi_t
 
struct  dmConnApiRemConnParamReqReply_t
 
struct  dmConnApiRemConnParamReqNegReply_t
 
struct  dmConnApiSetDataLen_t
 
struct  dmConnApiWriteAuthPayloadTo_t
 
struct  dmConnApiReqPeerSca_t
 
union  dmConn2Msg_t
 
struct  dmConnCcb_t
 
struct  dmConnCb_t
 

Typedefs

typedef void(* dmConnAct_t) (dmConnCcb_t *pCcb, dmConnMsg_t *pMsg)
 

Enumerations

Variables

dmConnAct_tdmConnActSet [DM_CONN_NUM_ACT_SETS]
 
dmConnAct_tdmConnUpdActSet [DM_CONN_NUM_ACT_SETS]
 
dmConnCb_t dmConnCb
 

Detailed Description

DM connection management module.

Copyright (c) 2016-2018 Arm Ltd. All Rights Reserved.

Copyright (c) 2019 Packetcraft, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file dm_conn.h.

Typedef Documentation

typedef void(* dmConnAct_t) (dmConnCcb_t *pCcb, dmConnMsg_t *pMsg)

Action function

Definition at line 298 of file dm_conn.h.

Enumeration Type Documentation

anonymous enum

DM conn event handler messages for state machine

Enumerator
DM_CONN_MSG_API_OPEN 

Open Connection

DM_CONN_MSG_API_CLOSE 

Close Connection

DM_CONN_MSG_API_ACCEPT 

Accept Connection

DM_CONN_MSG_HCI_LE_CONN_CMPL_FAIL 

HCI LE Connection Complete Failure Event

DM_CONN_MSG_HCI_LE_CONN_CMPL 

HCI LE Connection Compelte Event

DM_CONN_MSG_HCI_DISCONNECT_CMPL 

HCI Disconnection Complete Event

DM_CONN_MSG_HCI_LE_CONN_UPDATE_CMPL 

HCI LE Connection Update Complete Event

DM_CONN_MSG_HCI_LE_CREATE_CONN_CANCEL_CMD_CMPL 

HCI LE Create Connection Cancel Command Complet Event

Definition at line 54 of file dm_conn.h.

anonymous enum

DM conn event handler messages for connection update

Enumerator
DM_CONN_MSG_API_UPDATE_MASTER 

Master Connection Parameter Update

DM_CONN_MSG_API_UPDATE_SLAVE 

Slave Connecteion Parameter Update

DM_CONN_MSG_L2C_UPDATE_IND 

L2CAP Parameter update indication

DM_CONN_MSG_L2C_UPDATE_CNF 

L2CAP Parameter update confirmation

Definition at line 85 of file dm_conn.h.

anonymous enum

State machine actions

Enumerator
DM_CONN_SM_ACT_NONE 

No Action

DM_CONN_SM_ACT_CLOSE 

Process Connection Close

DM_CONN_SM_ACT_CONN_OPENED 

Procoess Connection Opened

DM_CONN_SM_ACT_CONN_FAILED 

Process Connection Failed

DM_CONN_SM_ACT_CONN_CLOSED 

Process Connection Closed

DM_CONN_SM_ACT_HCI_UPDATED 

Process HCI Connection Update

DM_CONN_SM_ACT_OPEN 

Process Master Connection Open

DM_CONN_SM_ACT_CANCEL_OPEN 

Process Master Cancel Connection Open

DM_CONN_SM_ACT_ACCEPT 

Process Slave Connection Accept

DM_CONN_SM_ACT_CANCEL_ACCEPT 

Process Slave Cancel Connection Accept

DM_CONN_SM_ACT_CONN_ACCEPTED 

Process Slave Connection Accepted

DM_CONN_SM_ACT_ACCEPT_FAILED 

Process Slave Connection Accept Failure

Definition at line 109 of file dm_conn.h.

anonymous enum

Connection update actions

Enumerator
DM_CONN_UPD_ACT_NONE 

No Action

DM_CONN_UPD_ACT_UPDATE_MASTER 

Process Master Connection Parameter Update

DM_CONN_UPD_ACT_L2C_UPDATE_IND 

Process Master L2CAP Connection Parameter Update Indication

DM_CONN_UPD_ACT_UPDATE_SLAVE 

Process Slave Connection Update

DM_CONN_UPD_ACT_L2C_UPDATE_CNF 

Process Slave L2CAP Connection Parameter Update Confirmation

Definition at line 128 of file dm_conn.h.

anonymous enum

State machine states

Enumerator
DM_CONN_SM_ST_IDLE 

Idle State

DM_CONN_SM_ST_CONNECTING 

Connecting State

DM_CONN_SM_ST_ACCEPTING 

Accepting State

DM_CONN_SM_ST_CONNECTED 

Connected State

DM_CONN_SM_ST_DISCONNECTING 

Disconnecting State

Definition at line 140 of file dm_conn.h.

Variable Documentation

dmConnAct_t* dmConnActSet[DM_CONN_NUM_ACT_SETS]

State machine action sets

dmConnCb_t dmConnCb

Control block

dmConnAct_t* dmConnUpdActSet[DM_CONN_NUM_ACT_SETS]

Connection update action sets

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.