BLE topology manager internal interface file. More...
#include "sch_api.h"
#include "sch_api_ble.h"
#include "ll_math.h"
#include "cfg_mac_ble.h"
#include "pal_bb.h"
Go to the source code of this file.
Data Structures | |
struct | schTmLink_t |
Topology link descriptor. More... | |
struct | SchTmCb_t |
Topology manager control block. More... | |
Macros | |
#define | SCH_TM_MAX_LINK (LL_MAX_CONN + LL_MAX_PER_SCAN + LL_MAX_CIG) |
Maximum link amount. More... | |
#define | SCH_TM_IS_IN_FUTURE(x, ref) (BbGetTargetTimeDelta(x, ref) > 0) |
Decide if given time is in the future compared to reference time. More... | |
#define | SCH_TM_IS_IN_PAST(x, ref) (BbGetTargetTimeDelta(ref, x) > 0) |
Decide if given time is in the past compared to reference time. More... | |
BLE topology manager internal interface file.
Copyright (c) 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 sch_int_tm.h.
#define SCH_TM_IS_IN_FUTURE | ( | x, | |
ref | |||
) | (BbGetTargetTimeDelta(x, ref) > 0) |
Decide if given time is in the future compared to reference time.
Definition at line 46 of file sch_int_tm.h.
#define SCH_TM_IS_IN_PAST | ( | x, | |
ref | |||
) | (BbGetTargetTimeDelta(ref, x) > 0) |
Decide if given time is in the past compared to reference time.
Definition at line 49 of file sch_int_tm.h.
#define SCH_TM_MAX_LINK (LL_MAX_CONN + LL_MAX_PER_SCAN + LL_MAX_CIG) |
Maximum link amount.
Definition at line 43 of file sch_int_tm.h.