nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
cdc_data_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 _CDC_DATA_EVENT_H_
8
#define _CDC_DATA_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
27
struct
cdc_data_event
{
28
struct
app_event_header
header
;
29
30
uint8_t
dev_idx
;
31
uint8_t *
buf
;
32
size_t
len
;
33
};
34
35
APP_EVENT_TYPE_DECLARE
(
cdc_data_event
);
36
37
#ifdef __cplusplus
38
}
39
#endif
40
44
45
#endif
/* _CDC_DATA_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
cdc_data_event::header
struct app_event_header header
Definition
cdc_data_event.h:28
cdc_data_event::dev_idx
uint8_t dev_idx
Definition
cdc_data_event.h:30
cdc_data_event::buf
uint8_t * buf
Definition
cdc_data_event.h:31
cdc_data_event::len
size_t len
Definition
cdc_data_event.h:32
cdc_data_event
Definition
cdc_data_event.h:27
applications
connectivity_bridge
src
events
cdc_data_event.h
Generated on
for nRF Connect SDK API by
1.17.0