Search found 6 matches

by nonkeldw
Mon Aug 03, 2020 12:36 pm
Forum: ESP-IDF
Topic: UDP stream not consistent parsed
Replies: 10
Views: 6602

Re: UDP stream not consistent parsed

Yes, that's correct.
I use the sequence number from the broadcast packet.
I print also this sequence number in the terminal.. there increase the number every time there is a packet received.
by nonkeldw
Sun Aug 02, 2020 7:21 pm
Forum: ESP-IDF
Topic: Write code for CPU1 without RTOS
Replies: 0
Views: 1369

Write code for CPU1 without RTOS

Hello

How to write code for CPU1, without RTOS, why no RTOS..? I need strict timing on my UART communication. And how to share data between CPU0 and CPU1?

Thanks!
by nonkeldw
Sun Aug 02, 2020 4:51 pm
Forum: ESP-IDF
Topic: UDP stream not consistent parsed
Replies: 10
Views: 6602

Re: UDP stream not consistent parsed

Hello My testsetup: Wireshark, on the PC. After every received packet (where i toggle the LED) i answer with "Hello world" and een sequence number. The ESP answer sometimes not on a received packet , but not mediate after receiving... for example i received 3 of 4 or 5 packets then the ESP answer on...
by nonkeldw
Sun Aug 02, 2020 10:38 am
Forum: ESP-IDF
Topic: UDP stream not consistent parsed
Replies: 10
Views: 6602

Re: UDP stream not consistent parsed

Hello

Thanks for the reply.
I changed this, without any success!
I changed also this:
Optimization level: Release
WiFi IRAM optimization enabled
UDP mailbox size: 64
FreeRTOS tick rate: 1000
Layer 2 to layer 3 copy enabled

But it is not yet stable.
by nonkeldw
Sat Aug 01, 2020 10:06 am
Forum: ESP-IDF
Topic: UDP stream not consistent parsed
Replies: 10
Views: 6602

Re: UDP stream not consistent parsed

Hello Please find below my source code: static unsigned char rx_buffer[2024]; unsigned char level =1; int opcode; //unsigned char addr_str[128]; while(1){ socklen_t socketaddrsize; struct sockaddr_in dest_addr, remotehost; dest_addr.sin_addr.s_addr = htonl(INADDR_ANY); dest_addr.sin_family = AF_INET...
by nonkeldw
Fri Jul 31, 2020 5:53 pm
Forum: ESP-IDF
Topic: UDP stream not consistent parsed
Replies: 10
Views: 6602

UDP stream not consistent parsed

Hello Forumuser I’m currently new to ESP32, this is also my first application that I made, I use the IDF environments from Esspressif. A little overview of my application, I run 2 tasks, 1 task print the RSSI with a printf, the other task opens a UDP socket and try to process the incoming data. If t...