Yes this is the code of Device2 and Device 1 code can be seen above, which just switch on/off the led and counts the successful invocations.
All this scenario is simulated because of a real use-case where Device2 have to invoke about 200 times a function on Device1 for a 2 hours and all the time I found Device2 reset and without any data.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi @Gordon,
Yes this is the code of Device2 and Device 1 code can be seen above, which just switch on/off the led and counts the successful invocations.
All this scenario is simulated because of a real use-case where Device2 have to invoke about 200 times a function on Device1 for a 2 hours and all the time I found Device2 reset and without any data.
Thank you!