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

Internal link layer controller slave extended advertising interface file. More...

#include "lctr_int_adv_ae.h"
#include "lctr_int.h"
#include "lctr_api_adv_slave_ae.h"
#include "lmgr_api_adv_slave_ae.h"
#include "bb_ble_api.h"
#include "bb_ble_api_op.h"
#include "lctr_pdu_adv.h"
#include "wsf_timer.h"

Go to the source code of this file.

Data Structures

struct  lctrExtAdvParam_t
 Extended advertising parameters. More...
 
struct  lctrPerAdvParam_t
 Periodic advertising parameters. More...
 
struct  lctrAdvDataBuf_t
 Advertising data buffer descriptor. More...
 
struct  lctrAdvSet_t
 Advertising set. More...
 
struct  lctrSlvExtAdvCtx_t
 Slave extended advertising state context. More...
 

Macros

#define LCTR_AUX_PTR_MAX_OFFSET   0x3FFF
 Maximum value of the AuxPtr offset field. More...
 
#define LCTR_AUX_OFFS_USED_PHY_SHIFT   13
 Number of shifted bytes for Used PHY field from the AUX Offset. More...
 
#define LCTR_EXT_ADVB_LEN(ehLen, dLen)   (LL_ADV_HDR_LEN + ehLen + dLen)
 Extended Advertising packet length. More...
 
#define LCTR_EXT_HDR_CMN_LEN   1
 Extended header common field length. More...
 
#define LCTR_EXT_HDR_FLAG_LEN   1
 Extended header flags field length. More...
 
#define LCTR_COMP_EXT_ADV_DATA_MAX_LEN   251 /* TODO: cfg_mac_ble.h configuration */
 Maximum size of a single complete advertising data buffer. More...
 
#define LCTR_GET_EXT_ADV_INDEX(pAdvSet)    (pAdvSet - &pLctrAdvSetTbl[0])
 Resolve the extended advertising index from the context pointer. More...
 
#define LCTR_GET_PER_RM_HANDLE(pAdvSet)    (LL_MAX_CONN + LCTR_GET_EXT_ADV_INDEX(pAdvSet))
 Get reservation manager handle for periodic ADV from the context pointer. More...
 

Typedefs

typedef void(* lctrAcadBigHdlr_t) (uint8_t advHandle)
 Call signature for slave ACAD BIG related function. More...
 
typedef void(* lctrRemoveHdlr_t) (uint8_t advHandle)
 Call signature for AdvSet Remove event handler. More...
 

Enumerations

Detailed Description

Internal link layer controller slave extended advertising interface file.

Copyright (c) 2013-2019 Arm Ltd. All Rights Reserved.

Copyright (c) 2019-2020 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 lctr_int_adv_slave_ae.h.

Macro Definition Documentation

#define LCTR_AUX_OFFS_USED_PHY_SHIFT   13

Number of shifted bytes for Used PHY field from the AUX Offset.

Definition at line 49 of file lctr_int_adv_slave_ae.h.

#define LCTR_AUX_PTR_MAX_OFFSET   0x3FFF

Maximum value of the AuxPtr offset field.

Definition at line 46 of file lctr_int_adv_slave_ae.h.

#define LCTR_COMP_EXT_ADV_DATA_MAX_LEN   251 /* TODO: cfg_mac_ble.h configuration */

Maximum size of a single complete advertising data buffer.

Definition at line 61 of file lctr_int_adv_slave_ae.h.

#define LCTR_EXT_ADVB_LEN (   ehLen,
  dLen 
)    (LL_ADV_HDR_LEN + ehLen + dLen)

Extended Advertising packet length.

Definition at line 52 of file lctr_int_adv_slave_ae.h.

#define LCTR_EXT_HDR_CMN_LEN   1

Extended header common field length.

Definition at line 55 of file lctr_int_adv_slave_ae.h.

#define LCTR_EXT_HDR_FLAG_LEN   1

Extended header flags field length.

Definition at line 58 of file lctr_int_adv_slave_ae.h.

#define LCTR_GET_EXT_ADV_INDEX (   pAdvSet)    (pAdvSet - &pLctrAdvSetTbl[0])

Resolve the extended advertising index from the context pointer.

Definition at line 64 of file lctr_int_adv_slave_ae.h.

#define LCTR_GET_PER_RM_HANDLE (   pAdvSet)    (LL_MAX_CONN + LCTR_GET_EXT_ADV_INDEX(pAdvSet))

Get reservation manager handle for periodic ADV from the context pointer.

Definition at line 67 of file lctr_int_adv_slave_ae.h.

Typedef Documentation

typedef void(* lctrAcadBigHdlr_t) (uint8_t advHandle)

Call signature for slave ACAD BIG related function.

Definition at line 70 of file lctr_int_adv_slave_ae.h.

typedef void(* lctrRemoveHdlr_t) (uint8_t advHandle)

Call signature for AdvSet Remove event handler.

Definition at line 73 of file lctr_int_adv_slave_ae.h.

Enumeration Type Documentation

anonymous enum

Slave extended advertising states.

Enumerator
LCTR_EXT_ADV_STATE_DISABLED 

Extended advertising disabled state.

LCTR_EXT_ADV_STATE_ENABLED 

Extended advertising enabled state.

LCTR_EXT_ADV_STATE_SHUTDOWN 

Extended advertising shutdown in progress.

LCTR_EXT_ADV_STATE_RESET 

Extended advertising reset in progress.

LCTR_EXT_ADV_STATE_TOTAL 

Total number of extended advertising states.

Definition at line 80 of file lctr_int_adv_slave_ae.h.

anonymous enum

Slave periodic advertising states.

Enumerator
LCTR_PER_ADV_STATE_DISABLED 

Periodic advertising disabled state.

LCTR_PER_ADV_STATE_ENABLED 

Periodic advertising enabled state.

LCTR_PER_ADV_STATE_SHUTDOWN 

Periodic advertising shutdown in progress.

LCTR_PER_ADV_STATE_RESET 

Periodic advertising reset in progress.

LCTR_PER_ADV_STATE_TOTAL 

Total number of Periodic advertising states.

Definition at line 90 of file lctr_int_adv_slave_ae.h.

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.