You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • If you know the protocol between JSON strings - such as cr/lf, cr, lf, you can write something like is done for GPS where the (non-JSON) sentences come in line by line. With every new arrival of a data fragment you look for the separation (ends and begins) and process when one found... see GPS module source at https://www.espruino.com/modules/GPS.js

About

Avatar for allObjects @allObjects started