Select one of the symbols to view example projects that use it.
 
Outline
#define PROTOBUF_C_wifi_5fconstants_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
WifiAttemptFailed
WifiConnectedState
_WifiStationState
_WifiConnectFailedReason
_WifiAuthMode
WifiAttemptFailed
WifiConnectedState
wifi_attempt_failed__init(WifiAttemptFailed *);
wifi_attempt_failed__get_packed_size(const WifiAttemptFailed *);
wifi_attempt_failed__pack(const WifiAttemptFailed *, uint8_t *);
wifi_attempt_failed__pack_to_buffer(const WifiAttemptFailed *, ProtobufCBuffer *);
wifi_attempt_failed__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
wifi_attempt_failed__free_unpacked(WifiAttemptFailed *, ProtobufCAllocator *);
wifi_connected_state__init(WifiConnectedState *);
wifi_connected_state__get_packed_size(const WifiConnectedState *);
wifi_connected_state__pack(const WifiConnectedState *, uint8_t *);
wifi_connected_state__pack_to_buffer(const WifiConnectedState *, ProtobufCBuffer *);
wifi_connected_state__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
wifi_connected_state__free_unpacked(WifiConnectedState *, ProtobufCAllocator *);
WifiAttemptFailed_Closure
WifiConnectedState_Closure
wifi_station_state__descriptor;
wifi_connect_failed_reason__descriptor;
wifi_auth_mode__descriptor;
wifi_attempt_failed__descriptor;
wifi_connected_state__descriptor;
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/wifi_provisioning/proto-c/wifi_constants.pb-c.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: wifi_constants.proto */ #ifndef PROTOBUF_C_wifi_5fconstants_2eproto__INCLUDED #define PROTOBUF_C_wifi_5fconstants_2eproto__INCLUDED #include <protobuf-c/protobuf-c.h> PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1003000 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. #elif 1004001 < PROTOBUF_C_MIN_COMPILER_VERSION # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif typedef struct WifiAttemptFailed WifiAttemptFailed; typedef struct WifiConnectedState WifiConnectedState; /* --- enums --- */ typedef enum _WifiStationState { WIFI_STATION_STATE__Connected = 0, WIFI_STATION_STATE__Connecting = 1, WIFI_STATION_STATE__Disconnected = 2, WIFI_STATION_STATE__ConnectionFailed = 3 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WIFI_STATION_STATE) }{ ... } WifiStationState; typedef enum _WifiConnectFailedReason { WIFI_CONNECT_FAILED_REASON__AuthError = 0, WIFI_CONNECT_FAILED_REASON__NetworkNotFound = 1 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WIFI_CONNECT_FAILED_REASON) }{ ... } WifiConnectFailedReason; typedef enum _WifiAuthMode { WIFI_AUTH_MODE__Open = 0, WIFI_AUTH_MODE__WEP = 1, WIFI_AUTH_MODE__WPA_PSK = 2, WIFI_AUTH_MODE__WPA2_PSK = 3, WIFI_AUTH_MODE__WPA_WPA2_PSK = 4, WIFI_AUTH_MODE__WPA2_ENTERPRISE = 5, WIFI_AUTH_MODE__WPA3_PSK = 6, WIFI_AUTH_MODE__WPA2_WPA3_PSK = 7 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WIFI_AUTH_MODE) }{ ... } WifiAuthMode; /* --- messages --- */ struct WifiAttemptFailed { ProtobufCMessage base; uint32_t attempts_remaining; }{ ... }; #define WIFI_ATTEMPT_FAILED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_attempt_failed__descriptor) \ , 0 }{...} ... struct WifiConnectedState { ProtobufCMessage base; char *ip4_addr; WifiAuthMode auth_mode; ProtobufCBinaryData ssid; ProtobufCBinaryData bssid; int32_t channel; }{ ... }; #define WIFI_CONNECTED_STATE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_connected_state__descriptor) \ , (char *)protobuf_c_empty_string, WIFI_AUTH_MODE__Open, {0,NULL}, {0,NULL}, 0 }{...} ... /* WifiAttemptFailed methods */ void wifi_attempt_failed__init (WifiAttemptFailed *message); size_t wifi_attempt_failed__get_packed_size (const WifiAttemptFailed *message); size_t wifi_attempt_failed__pack (const WifiAttemptFailed *message, uint8_t *out); size_t wifi_attempt_failed__pack_to_buffer (const WifiAttemptFailed *message, ProtobufCBuffer *buffer); WifiAttemptFailed * wifi_attempt_failed__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void wifi_attempt_failed__free_unpacked (WifiAttemptFailed *message, ProtobufCAllocator *allocator); /* WifiConnectedState methods */ void wifi_connected_state__init (WifiConnectedState *message); size_t wifi_connected_state__get_packed_size (const WifiConnectedState *message); size_t wifi_connected_state__pack (const WifiConnectedState *message, uint8_t *out); size_t wifi_connected_state__pack_to_buffer (const WifiConnectedState *message, ProtobufCBuffer *buffer); WifiConnectedState * wifi_connected_state__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void wifi_connected_state__free_unpacked (WifiConnectedState *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*WifiAttemptFailed_Closure) (const WifiAttemptFailed *message, void *closure_data); typedef void (*WifiConnectedState_Closure) (const WifiConnectedState *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCEnumDescriptor wifi_station_state__descriptor; extern const ProtobufCEnumDescriptor wifi_connect_failed_reason__descriptor; extern const ProtobufCEnumDescriptor wifi_auth_mode__descriptor; extern const ProtobufCMessageDescriptor wifi_attempt_failed__descriptor; extern const ProtobufCMessageDescriptor wifi_connected_state__descriptor; PROTOBUF_C__END_DECLS /* ... */ #endif /* PROTOBUF_C_wifi_5fconstants_2eproto__INCLUDED */
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.