@Gordon for my purpose I have to get the entire message before deciding next step of actions. Does this mean it’s best practice to always buffer the data for the busy case you mentioned above even for Espruino boards? I’ve been wrapping the message from ESP32 board with a start and end chars (<,>)so Espruino can understand whole messages, is there a proper way to detect start and end of transmission?
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.
@Gordon for my purpose I have to get the entire message before deciding next step of actions. Does this mean it’s best practice to always buffer the data for the busy case you mentioned above even for Espruino boards? I’ve been wrapping the message from ESP32 board with a start and end chars (<,>)so Espruino can understand whole messages, is there a proper way to detect start and end of transmission?
Thanks!