nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
net_state_event.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _NET_STATE_EVENT_H_
8#define _NET_STATE_EVENT_H_
9
16#include <app_event_manager.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23
29
31
34};
35
38 struct app_event_header header;
39
41 const void *id;
42};
44
45
46#ifdef __cplusplus
47}
48#endif
49
54#endif /* _NET_STATE_EVENT_H_ */
Application Event Manager header.
Application Event Manager profiler tracer header.
#define APP_EVENT_TYPE_DECLARE(ename)
Declare an event type.
Definition: app_event_manager.h:143
net_state
Net states.
Definition: net_state_event.h:25
@ NET_STATE_COUNT
Definition: net_state_event.h:30
@ NET_STATE_CONNECTED
Definition: net_state_event.h:28
@ NET_STATE_DISCONNECTED
Definition: net_state_event.h:27
@ NET_STATE_DISABLED
Definition: net_state_event.h:26
@ APP_EM_ENFORCE_ENUM_SIZE
Definition: net_state_event.h:33
const void * id
Definition: net_state_event.h:41
enum net_state state
Definition: net_state_event.h:40
struct app_event_header header
Definition: net_state_event.h:38
NET state event.
Definition: net_state_event.h:37