oh maybe the \1 is chunk name or whatever (i.e each append create another numbered one)? The limit is 8 characters here https://github.com/espruino/Espruino/blob/master/src/jswrap_storage.c#L85 and 7 here https://github.com/espruino/Espruino/blob/master/src/jswrap_storage.c#L294
EDIT: oh yes, here it is clear https://github.com/espruino/Espruino/blob/master/src/jswrap_storage.c#L612
Also this may bite someone https://github.com/espruino/Espruino/blob/master/src/jswrap_storage.c#L395 "you should not write character code 255 ("\xFF") to these files" so these are basically text files, not binary.
"\xFF"
@fanoush started
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.
oh maybe the \1 is chunk name or whatever (i.e each append create another numbered one)? The limit is 8 characters here https://github.com/espruino/Espruino/blob/master/src/jswrap_storage.c#L85 and 7 here https://github.com/espruino/Espruino/blob/master/src/jswrap_storage.c#L294
EDIT: oh yes, here it is clear https://github.com/espruino/Espruino/blob/master/src/jswrap_storage.c#L612
Also this may bite someone https://github.com/espruino/Espruino/blob/master/src/jswrap_storage.c#L395 "you should not write character code 255 (
"\xFF"
) to these files" so these are basically text files, not binary.