-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi Duke,
Is there any special consideration that I have to take into account (or prohibition) to use the pair C_NETSEND / C_NETRECV inside an interrupt?
I'm designing a keep alive mechanism, and I need to send every minute or so 2 bytes to the server and wait for its ack.
I have been able to verify that the C_NETSEND works correctly inside the interrupt, but the server message is never available when I ask for it in the status socket (inside the same interrupt).
However, if I do this outside of an interrupt (in the main loop) it works fine: send "ping" and receive "pong".
Probably this whole keep alive loop isn't suitable for an interrupt, but before I rule it out I wanted to see if you had any limitations by design.
Many thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels