nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
ble_ctrl_event.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#ifndef _BLE_CTRL_EVENT_H_
8
#define _BLE_CTRL_EVENT_H_
9
15
16
#include <string.h>
17
#include <zephyr/toolchain.h>
18
19
#include <
app_event_manager.h
>
20
#include <
app_event_manager_profiler_tracer.h
>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
enum
ble_ctrl_cmd
{
27
BLE_CTRL_ENABLE
,
28
BLE_CTRL_DISABLE
,
29
BLE_CTRL_NAME_UPDATE
,
30
};
31
33
struct
ble_ctrl_event
{
34
struct
app_event_header
header
;
35
36
enum
ble_ctrl_cmd
cmd
;
37
union
{
38
const
char
*
name_update
;
39
}
param
;
40
};
41
42
APP_EVENT_TYPE_DECLARE
(
ble_ctrl_event
);
43
44
#ifdef __cplusplus
45
}
46
#endif
47
51
52
#endif
/* _BLE_CTRL_EVENT_H_ */
app_event_manager.h
Application Event Manager header.
app_event_manager_profiler_tracer.h
Application Event Manager profiler tracer header.
APP_EVENT_TYPE_DECLARE
#define APP_EVENT_TYPE_DECLARE(ename)
Declare an event type.
Definition
app_event_manager.h:143
ble_ctrl_cmd
ble_ctrl_cmd
Definition
ble_ctrl_event.h:26
BLE_CTRL_ENABLE
@ BLE_CTRL_ENABLE
Definition
ble_ctrl_event.h:27
BLE_CTRL_DISABLE
@ BLE_CTRL_DISABLE
Definition
ble_ctrl_event.h:28
BLE_CTRL_NAME_UPDATE
@ BLE_CTRL_NAME_UPDATE
Definition
ble_ctrl_event.h:29
ble_ctrl_event::header
struct app_event_header header
Definition
ble_ctrl_event.h:34
ble_ctrl_event::cmd
enum ble_ctrl_cmd cmd
Definition
ble_ctrl_event.h:36
ble_ctrl_event::param
union ble_ctrl_event::@027336077222113023013250362345222300371207262233 param
ble_ctrl_event::name_update
const char * name_update
Definition
ble_ctrl_event.h:38
ble_ctrl_event
Definition
ble_ctrl_event.h:33
applications
connectivity_bridge
src
events
ble_ctrl_event.h
Generated on
for nRF Connect SDK API by
1.17.0