Mistake on this page?
Report an issue in GitHub or email us
lmgr_api_conn.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief Link layer manager connection interface file.
6  *
7  * Copyright (c) 2013-2018 Arm Ltd. All Rights Reserved.
8  *
9  * Copyright (c) 2019 Packetcraft, Inc.
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */
23 /*************************************************************************************************/
24 
25 #ifndef LMGR_API_CONN_H
26 #define LMGR_API_CONN_H
27 
28 #include "lmgr_api.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 /*!
35  * \addtogroup LL_LMGR_API_CONN
36  * \{
37  */
38 
39 /**************************************************************************************************
40  Data Types
41 **************************************************************************************************/
42 
43 /*! \brief Slave role device parameter definition. */
44 typedef struct
45 {
46  uint8_t availTxBuf; /*!< Available number of transmit buffers. */
47  uint8_t availRxBuf; /*!< Available number of receive buffers. */
48 
49  uint16_t maxTxLen; /*!< Default maximum number of Data PDU bytes. */
50  uint16_t maxTxTime; /*!< Default maximum microseconds for a Data PDU. */
51 
52  wsfQueue_t rxDataQ; /*!< Receive Data PDU (LE-U or LE-C) queue. */
53 
54  uint32_t dataPendMsk; /*!< Bitmask of connection handles with new pending data. */
55 
56  uint8_t allPhys; /*!< Default all PHYs. */
57  uint8_t txPhys; /*!< Default transmitter PHYs. */
58  uint8_t rxPhys; /*!< Default receiver PHYs. */
59 
60  uint8_t syncMode; /*!< Default sync transfer mode. */
61  uint16_t syncSkip; /*!< Default sync skip for periodic adv sync transfer. */
62  uint16_t syncTimeout; /*!< Default sync timeout for periodic adv sync transfer. */
63 
65 
66 /**************************************************************************************************
67  Global Variables
68 **************************************************************************************************/
69 
70 extern lmgrConnCtrlBlk_t lmgrConnCb;
71 
72 /**************************************************************************************************
73  Function Declarations
74 **************************************************************************************************/
75 
76 /* Initialization */
77 void LmgrConnInit(void);
78 
79 /*! \} */ /* LL_LMGR_API_CONN */
80 
81 #ifdef __cplusplus
82 };
83 #endif
84 
85 #endif /* LMGR_API_CONN_H */
wsfQueue_t rxDataQ
Definition: lmgr_api_conn.h:52
Slave role device parameter definition.
Definition: lmgr_api_conn.h:44
uint16_t syncTimeout
Definition: lmgr_api_conn.h:62
Queue structure.
Definition: wsf_queue.h:46
uint32_t dataPendMsk
Definition: lmgr_api_conn.h:54
Link layer manager common interface file.
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.