We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72dfdb commit 7e9b374Copy full SHA for 7e9b374
src/ConnectionHandlerDefinitions.h
@@ -151,6 +151,18 @@
151
#define NETWORK_CONNECTED WL_CONNECTED
152
#endif
153
154
+#if defined(__ZEPHYR__)
155
+ #define BOARD_HAS_ETHERNET
156
+ #define NETWORK_HARDWARE_ERROR WL_NO_SHIELD
157
+ #define NETWORK_IDLE_STATUS WL_IDLE_STATUS
158
+ #define NETWORK_CONNECTED WL_CONNECTED
159
+ #include "ZephyrUDP.h"
160
+ #include "ZephyrClient.h"
161
+ #include "Ethernet.h"
162
+ #define EthernetUDP ZephyrUDP
163
+ #define EthernetClient ZephyrClient
164
+#endif
165
+
166
#endif // BOARD_HAS_NOTECARD
167
168
/******************************************************************************
0 commit comments