ESP-IDF
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define _BLE_MESH_MUTEX_H_
#include "mesh/kernel.h"
#include "mesh/slist.h"
#include "mesh/atomic.h"
bt_mesh_mutex_t
mutex
bt_mesh_mutex_create(bt_mesh_mutex_t *);
bt_mesh_mutex_free(bt_mesh_mutex_t *);
bt_mesh_mutex_lock(bt_mesh_mutex_t *);
bt_mesh_mutex_unlock(bt_mesh_mutex_t *);
bt_mesh_r_mutex_create(bt_mesh_mutex_t *);
bt_mesh_r_mutex_free(bt_mesh_mutex_t *);
bt_mesh_r_mutex_lock(bt_mesh_mutex_t *);
bt_mesh_r_mutex_unlock(bt_mesh_mutex_t *);
bt_mesh_alarm_lock();
bt_mesh_alarm_unlock();
bt_mesh_list_lock();
bt_mesh_list_unlock();
bt_mesh_buf_lock();
bt_mesh_buf_unlock();
bt_mesh_atomic_lock();
bt_mesh_atomic_unlock();
bt_mesh_mutex_init();
bt_mesh_mutex_deinit();
Files
loading...
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
components/bt/esp_ble_mesh/common/include/mesh/mutex.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* ... */
#ifndef
_BLE_MESH_MUTEX_H_
#define
_BLE_MESH_MUTEX_H_
#include
"
mesh
/
kernel.h"
#include
"
mesh
/
slist.h"
#include
"
mesh
/
atomic.h"
#ifdef
__cplusplus
extern
"C"
{
#endif
typedef
struct
{
SemaphoreHandle_t
mutex
;
#if
CONFIG_BLE_MESH_FREERTOS_STATIC_ALLOC
StaticQueue_t
*
buffer
;
#endif
}
{ ... }
bt_mesh_mutex_t
;
void
bt_mesh_mutex_create
(
bt_mesh_mutex_t
*
mutex
)
;
void
bt_mesh_mutex_free
(
bt_mesh_mutex_t
*
mutex
)
;
void
bt_mesh_mutex_lock
(
bt_mesh_mutex_t
*
mutex
)
;
void
bt_mesh_mutex_unlock
(
bt_mesh_mutex_t
*
mutex
)
;
void
bt_mesh_r_mutex_create
(
bt_mesh_mutex_t
*
mutex
)
;
void
bt_mesh_r_mutex_free
(
bt_mesh_mutex_t
*
mutex
)
;
void
bt_mesh_r_mutex_lock
(
bt_mesh_mutex_t
*
mutex
)
;
void
bt_mesh_r_mutex_unlock
(
bt_mesh_mutex_t
*
mutex
)
;
void
bt_mesh_alarm_lock
(
void
)
;
void
bt_mesh_alarm_unlock
(
void
)
;
void
bt_mesh_list_lock
(
void
)
;
void
bt_mesh_list_unlock
(
void
)
;
void
bt_mesh_buf_lock
(
void
)
;
void
bt_mesh_buf_unlock
(
void
)
;
void
bt_mesh_atomic_lock
(
void
)
;
void
bt_mesh_atomic_unlock
(
void
)
;
void
bt_mesh_mutex_init
(
void
)
;
void
bt_mesh_mutex_deinit
(
void
)
;
#ifdef
__cplusplus
}
{...}
#endif
/* ... */
#endif
/* _BLE_MESH_MUTEX_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.
bt_mesh_mutex_lock()
bt_mesh_mutex_unlock()
bt_mesh_mutex_free()
bt_mesh_mutex_create()
bt_mesh_alarm_unlock()
bt_mesh_list_unlock()
bt_mesh_list_lock()
bt_mesh_atomic_unlock()
bt_mesh_alarm_lock()
bt_mesh_atomic_lock()
bt_mesh_buf_unlock()
bt_mesh_r_mutex_create()
bt_mesh_r_mutex_free()
bt_mesh_r_mutex_lock()
bt_mesh_r_mutex_unlock()
bt_mesh_buf_lock()
bt_mesh_mutex_init()
bt_mesh_mutex_deinit()
bt_mesh_mutex_t
bt_mesh_mutex_t::mutex
bt_mesh_mutex_free()::mutex
bt_mesh_mutex_create()::mutex
bt_mesh_mutex_lock()::mutex
bt_mesh_mutex_unlock()::mutex
bt_mesh_r_mutex_create()::mutex
bt_mesh_r_mutex_lock()::mutex
bt_mesh_r_mutex_unlock()::mutex
bt_mesh_r_mutex_free()::mutex
_BLE_MESH_MUTEX_H_
SemaphoreHandle_t
bt_mesh_mutex_t