Testing sockets over wifi

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Testing sockets over wifi

Postby Deouss » Wed Jul 25, 2018 12:11 pm

I am testing network communication between ESP and PC over wifi and am quite pleased by performance.
I also noticed that sockets are very easily shared between 2 cores so I ran task right away after accepting the request and pinned it to core 0 and then 1. Turns out task runs faster on core 0 and I thought core 1 should be more free of load.
So question is what exactly is being run by rtos on core 0 and what on core 1?

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: Testing sockets over wifi

Postby Deouss » Thu Jul 26, 2018 4:13 am

I just came across problem with amount of data allowed for transfer by socket.
I am trying to push around 2Mb to ESP and I am getting weird errors like 'Loadprohibited' , 'IllegalInstruction', 'invalidptr' ??
What is the maximum amount of memory I can allocate by Task and also maximum buffer size for socket and how to do it?
I appreciate help
Thanks

Who is online

Users browsing this forum: Google [Bot] and 89 guests