Search found 27 matches

by Step73
Thu Sep 30, 2021 7:46 am
Forum: General discussion
Topic: UDP_TX_PACKET_MAX_SIZE
Replies: 3
Views: 3378

Re: UDP_TX_PACKET_MAX_SIZE

mrburnette wrote: Wed Sep 22, 2021 11:03 pm As you did not specify the exact library source, I assume this Ethernet library: https://github.com/arduino-libraries/Ethernet
Actually I did:

> STM32duino_STM32Ethernet/src/EthernetUdp.h
by Step73
Wed Sep 22, 2021 6:56 pm
Forum: General discussion
Topic: UDP_TX_PACKET_MAX_SIZE
Replies: 3
Views: 3378

UDP_TX_PACKET_MAX_SIZE

In `EthernetUdp.h` I see the following `#define`: #define UDP_TX_PACKET_MAX_SIZE 24 1. Doing a search inside the arduino directories I cannot find any use of it but in the examples (at application level): step73@lap:~/Arduino/libraries$ grep -nrw . -e UDP_TX_PACKET_MAX_SIZE ./STM32duino_STM32Etherne...
by Step73
Fri Sep 17, 2021 2:26 pm
Forum: General discussion
Topic: Stress test of UDP messages leads to weird behaviors
Replies: 0
Views: 2237

Stress test of UDP messages leads to weird behaviors

Nucleo-144 F429ZI. Here my test setup: PC ---> ethernet switch ---> one or more Nucleo-144 F429ZI boards A software that runs on the PC (other details below) sends OSC bundles (UDP packets) to one or more devices. The device does something and then answer with another OSC bundle after some time. I s...
by Step73
Sun Sep 27, 2020 4:28 am
Forum: General discussion
Topic: EthernetClient with certificate support
Replies: 1
Views: 1562

EthernetClient with certificate support

Due to the limited "horse-power" of standard Arduino boards, I migrated to STM32-based (Nucleo 429ZI) with the hope I can use certificates to connect to AWS services. For example, I found this for a WiFi Arduino: https://github.com/Ameba8195/Arduino/blob/master/hardware_v2/libraries/MQTTCl...
by Step73
Mon Feb 24, 2020 6:58 pm
Forum: General discussion
Topic: Handle multiple UDP packets at time
Replies: 6
Views: 5450

Re: Handle multiple UDP packets at time

You can try inserting delay between each packet send.
Unfortunately I don't have control of the sender application.
Thanks anyway for pointing out another limitation. At least now I understand why it doesn't work.
by Step73
Mon Feb 17, 2020 2:54 pm
Forum: General discussion
Topic: Handle multiple UDP packets at time
Replies: 6
Views: 5450

Re: Handle multiple UDP packets at time

well i'd guess you'd probably need to debug the codes if you want to find out why the udp packets are missing. or possibly try to do some serial prints() to see what may be happening after all. You're talking about my code? Udp.parsePacket() returns only 3 times a value > 0 on 4 messages sent. Wher...
by Step73
Mon Feb 17, 2020 2:21 pm
Forum: General discussion
Topic: Handle multiple UDP packets at time
Replies: 6
Views: 5450

Handle multiple UDP packets at time

On a Nucleo F429ZI I wrote this code: #include <LwIP.h> #include <STM32Ethernet.h> #define UDP_TX_PACKET_MAX_SIZE 512 #include <EthernetUdp.h> IPAddress remoteIP; unsigned int remotePort; EthernetUDP Udp; uint8_t packetBuffer[UDP_TX_PACKET_MAX_SIZE]; void setup() { Serial.begin(115200); IPAddress lo...
by Step73
Sat Jan 25, 2020 8:09 am
Forum: General discussion
Topic: Cannot attach servo on some GPIOs
Replies: 12
Views: 9068

Re: Cannot attach servo on some GPIOs

Good catch! I'm going to patch the library manually to check if it fixes. Thanks.
by Step73
Fri Jan 24, 2020 2:58 pm
Forum: General discussion
Topic: Cannot attach servo on some GPIOs
Replies: 12
Views: 9068

Re: Cannot attach servo on some GPIOs

No, this library was provided like that since a long time. For most of the use case it is enough. We can't answered to all the requests. :? And all requests does not satisfied all users. One wants it works like this, an other like that... It is hard to satisfied all people. This is a community proj...
by Step73
Fri Jan 24, 2020 2:14 pm
Forum: General discussion
Topic: Cannot attach servo on some GPIOs
Replies: 12
Views: 9068

Re: Cannot attach servo on some GPIOs

The Servo library is provided for Arduino compatibility. By extension the core is to provide as far as possible the same Arduino compatibility for all STM32 series. You can have a look to the HardwareTimer library or implement your own Servo library. That's not the point. I just wonder why limit th...

Go to advanced search