Do you have more information about what you're trying to do? And on which platform?
There isn't a hard limit in input line size - IOBUFFERMASK is related to the amount of characters that can arrive while Espruino is busy processing other things. If Espruino is idle - even a little - during the period data is received then the characters on the input line will be added to a JsVar variable and can be accepted right up until all available RAM has been used.
However on many platforms, ensuring there is 60kB of RAM free could be a stretch so it may be some other solutions needs to be considered (even if it's compressing the received data on the fly).
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,
Do you have more information about what you're trying to do? And on which platform?
There isn't a hard limit in input line size - IOBUFFERMASK is related to the amount of characters that can arrive while Espruino is busy processing other things. If Espruino is idle - even a little - during the period data is received then the characters on the input line will be added to a JsVar variable and can be accepted right up until all available RAM has been used.
However on many platforms, ensuring there is 60kB of RAM free could be a stretch so it may be some other solutions needs to be considered (even if it's compressing the received data on the fly).