Page 1 of 1

Testing sockets over wifi

Posted: Wed Jul 25, 2018 12:11 pm
by Deouss
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?

Re: Testing sockets over wifi

Posted: Thu Jul 26, 2018 4:13 am
by Deouss
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