OK so I have a Photon app (its no longer a simple one), which used to be able to send UDP packets, but now returns -26 to sendPacket.
Are these codes actually defined somewhere please ???.
Due to ‘other issues’ with lost memory (in the OS caused by networking issues - I believe ;-)) I have made quite a few changes since knowing this was working. I am also out of country so have a completely different network setup :-((.
If I knew what the error code is trying to tell me - I might have a chance at finding what is now causing this error …
I am not completely sure but I believe it means that the WICED layer did not have a packet buffer to handle your request.
Could you be running into this problem where if you send packets back-to-back to the same host you can have buffer problems? Another case is trying to use ARP resolution with many hosts all at once and the ARP packet buffers are not returned to the pool for some time.