You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library currently supports following platforms and interfaces.
@@ -155,6 +152,7 @@ Please feel free to send PR or request for more board support!
155
152
- ESP32
156
153
- ESP8266
157
154
- Raspberry Pi Pico W
155
+
- Arduino Uno R4 WiFi
158
156
- Arduino Uno WiFi Rev2
159
157
- Arduino MKR VIDOR 4000
160
158
- Arduino MKR WiFi 1010
@@ -165,7 +163,6 @@ Please feel free to send PR or request for more board support!
165
163
166
164
- Almost all platforms which has `Ethernet` (and `ETH`) library
167
165
168
-
169
166
## Limitation and Options for NO-STL Boards
170
167
171
168
STL is used to handle packet data by default, but for following boards/architectures, [ArxContainer](https://github.com/hideakitai/ArxContainer) is used to store the packet data because STL can not be used for such boards.
@@ -174,15 +171,14 @@ The storage size of such boards for packets, queue of packets, max packet binary
174
171
- AVR
175
172
- megaAVR
176
173
177
-
178
174
### Usage Recommendation for Arduino Uno (and other boards with tiny memory size)
179
175
180
176
For the boards which has tiny memory size (e.g. Arduino Uno), I reccomend not to use publisher and subscriber.
181
177
Though you can use them on such boards, such rich functions requires more memory.
182
178
The reccomended way is to use `send` and `parse` manually.
183
179
The example is shown in `examples/arduino/OscEtherUno`, so please consider to use it.
184
180
185
-
```C++
181
+
```C++
186
182
#include<ArduinoOSCEther.h>
187
183
// #include <ArduinoOSC.h> // you can use this because Uno supports only Ethernet
188
184
@@ -219,14 +215,13 @@ void loop() {
219
215
}
220
216
```
221
217
222
-
223
218
### Memory Management (only for NO-STL Boards)
224
219
225
220
As mentioned above, for such boards like Arduino Uno, the storage sizes are limited.
226
221
And of course you can manage them by defining following macros.
227
222
But these default values are optimized for such boards, please be careful not to excess your boards storage/memory.
228
223
229
-
```C++
224
+
```C++
230
225
#define ARDUINOOSC_MAX_MSG_ARGUMENT_SIZE 8
231
226
#define ARDUINOOSC_MAX_MSG_BYTE_SIZE 128
232
227
#define ARDUINOOSC_MAX_MSG_QUEUE_SIZE 1
@@ -241,22 +236,20 @@ OSC bundle option is disabled for such boards.
241
236
If you want to use that, please use this macro and handle packets manually.
242
237
`ArduinoOSC` does not use bundle by default.
243
238
244
-
```C++
239
+
```C++
245
240
#defineARDUINOOSC_ENABLE_BUNDLE
246
241
#defineARDUINOOSC_MAX_MSG_BUNDLE_SIZE 128
247
242
```
248
243
249
-
250
244
### Enable Debug Logger
251
245
252
246
You can see the debug log when you insert following line before include `ArduinoOSC`.
0 commit comments