Mistake on this page?
Report an issue in GitHub or email us
lctr_int_adv_ae.h
Go to the documentation of this file.
1 
2 /*************************************************************************************************/
3 /*!
4  * \file
5  *
6  * \brief Extended advertising common header file
7  *
8  * Copyright (c) 2018-2019 Arm Ltd. All Rights Reserved.
9  *
10  * Copyright (c) 2019 Packetcraft, Inc.
11  *
12  * Licensed under the Apache License, Version 2.0 (the "License");
13  * you may not use this file except in compliance with the License.
14  * You may obtain a copy of the License at
15  *
16  * http://www.apache.org/licenses/LICENSE-2.0
17  *
18  * Unless required by applicable law or agreed to in writing, software
19  * distributed under the License is distributed on an "AS IS" BASIS,
20  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  * See the License for the specific language governing permissions and
22  * limitations under the License.
23  */
24 /*************************************************************************************************/
25 
26 #ifndef LCTR_INT_ADV_AE_H
27 #define LCTR_INT_ADV_AE_H
28 
29 #include "ll_defs.h"
30 #include "lctr_api.h"
31 #include "lctr_api_adv_acad.h"
32 #include <string.h>
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 /*! \brief ACAD parameter indices */
39 enum
40 {
41  LCTR_ACAD_ID_CHAN_MAP_UPDATE,
42  LCTR_ACAD_ID_BIG_INFO,
43 
44  /* Total number of ACAD IDs. */
45  LCTR_ACAD_NUM_ID,
46 
47  /* Invalid ID type. */
48  LCTR_ACAD_INVALID_ID = 0xFF
49 };
50 
51 /*! \brief ACAD states */
52 enum
53 {
54  LCTR_ACAD_STATE_DISABLED = 0,
55  LCTR_ACAD_STATE_ENABLED,
56  LCTR_ACAD_STATE_TOTAL
57 };
58 
59 /*! \brief ACAD Common events */
60 enum
61 {
62  LCTR_ACAD_COMM_MSG_START,
63  LCTR_ACAD_COMM_MSG_FINISH,
64  LCTR_ACAD_COMM_MSG_TOTAL,
65  LCTR_ACAD_COMM_MSG_INVALID = 0xFF
66 };
67 
68 /*! \brief Generic ACAD packet. */
69 typedef union
70 {
71  LctrAcadHdr_t hdr; /*!< ACAD header. */
72  LctrAcadChanMapUpd_t chanMapUpdate; /*!< Channel map update. */
73  LctrAcadBigInfo_t bigInfo; /*!< BIG info. */
75 
76 #ifdef __cplusplus
77 };
78 #endif
79 
80 #endif /* LCTR_INT_ADV_AE_H */
ACAD header.
LctrAcadHdr_t hdr
ACAD data field for channel map update.
LctrAcadBigInfo_t bigInfo
Link layer controller common interface file.
Generic ACAD packet.
Link layer constant definitions.
Link layer controller ACAD definitions.
ACAD data field for channel map update.
LctrAcadChanMapUpd_t chanMapUpdate
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.