Hi,
I am using the https_client sample with some modifications on a thingy91. I want to find the biggest buffer size the send() function can handle without failing. Do you know the answer? And how much heap, stack etc. do I need to reach that limit? I have tried with 9000 bytes, then it fails. I have tweaked on different heap and stack configs to try to make it work, but it doesn't.
MY TESTS:
1. 20000 bytes heap, 20000 bytes stack, 9000bytes buffer to send. FAILED. Made heap and stack big just to be sure. (overkill and fails)
2. 8192 bytes heap, 4096 bytes stack, 5000bytes buffer to send. WORKED. (not overkill and works)
I then assume there is a limit inbetween 5000-9000 bytes. Is there a way to increase the limit of the send() function, or a way to find the limit on the thingy91? (send() from zephyr/net/socket.h library)
Regards,
Elias