/* * SPDX-FileCopyrightText: 2016 Wind River Systems, Inc. * SPDX-FileContributor: 2020-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */#ifndef_BLE_MESH_KERNEL_H_#define_BLE_MESH_KERNEL_H_#include"sdkconfig.h"#include"freertos/FreeRTOS.h"#include"freertos/task.h"#include"freertos/queue.h"#include"freertos/semphr.h"#include"mesh/config.h"#include"mesh/types.h"7 includes#ifdef__cplusplusextern"C"{#endif#ifdefCONFIG_BT_BLUEDROID_ENABLED#ifdefCONFIG_BT_BLUEDROID_PINNED_TO_CORE#defineBLE_MESH_ADV_TASK_CORE(CONFIG_BT_BLUEDROID_PINNED_TO_CORE<CONFIG_FREERTOS_NUMBER_OF_CORES?CONFIG_BT_BLUEDROID_PINNED_TO_CORE:tskNO_AFFINITY)#else#defineBLE_MESH_ADV_TASK_CORE(0)#endif/* ... */#endif#ifdefCONFIG_BT_NIMBLE_ENABLED#ifdefCONFIG_BT_NIMBLE_PINNED_TO_CORE#defineBLE_MESH_ADV_TASK_CORE(CONFIG_BT_NIMBLE_PINNED_TO_CORE<CONFIG_FREERTOS_NUMBER_OF_CORES?CONFIG_BT_NIMBLE_PINNED_TO_CORE:tskNO_AFFINITY)#else#defineBLE_MESH_ADV_TASK_CORE(0)#endif/* ... */#endif#defineBLE_MESH_ADV_TASK_STACK_SIZE3072#defineBLE_MESH_ADV_TASK_NAME"mesh_adv_task"#defineBLE_MESH_ADV_TASK_PRIO(configMAX_PRIORITIES-5)/** * @brief Put the current thread to sleep. * * This routine puts the current thread to sleep for @a duration * milliseconds. * * @param duration Number of milliseconds to sleep. * * @return N/A *//* ... */voidk_sleep(int32_tduration);#ifdef__cplusplus}{...}#endif/* ... */#endif/* _BLE_MESH_KERNEL_H_ */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.