"My files" tab seems to crash if it tries to show all the segments with an error like follows:
<BLE> Unable to decode "[\".boot0\",\".bootcde\",\"%2Bboot\",\"%2Bsetting\",\"-setting\",\"%40setting\",\"*setting\",\"%2Babout\",\"-about\",\"*about\",\"%2Bsbt\",\"%3Dsbt\",\"%2Bsbat\",\"%3Dsbat\",\"%2Bfitclck\",\"-fitclck\",\"*fitclck\",\"ftclog%01\",\"ftclog%02\",\"ftclog%03\",\"ftclog%04\",\"ftclog%05\",\"ftclog%06\",\"ftclog%07\",\"ftclog%08\",\"ftclog%09\",\"ftclog%0A\",\"ftclog%0B\",\"ftclog%0C\",\"ftclog%0D\",\"ftclog%0E\",\"ftclog%0F\",\"ftclog%10\",\"ftclog%11\",\"ftclog%12\",\"ftclog%13\",\"ftclog%14\",\"ftclog%15\",\"ftclog%16\",\"ftclog%17\",\"ftclog%18\",\"ftclog%19\",\"ftclog%1A\",\"ftclog%1B\",\"ftclog%1C\",\"ftclog%1D\",\"ftclog%1E\",\"ftclog%1F\",\"ftclog%20\",\"ftclog!\",\"ftclog%22\",\"ftclog%23\",\"ftclog%24\",\"ftclog%25\",\"ftclog%26\",\"ftclog'\",\"ftclog(\",\"ftclog)\",\"ftclog*\",\"ftclog%2B\",\"ftclog%2C\",\"ftclog-\",\"ftclog.\",\"ftclog%2F\",\"ftclog0\",\"ftclog1\",\"ftclog2\",\"ftclog3\",\"ftclog4\",\"ftclog5\",\"ftclog6\",\"ftclog7\",\"ftclog8\",\"ftclog9\",\"ftclog%3A\",\"ftclog%3B\",\"ftclog%3C\",\"ftclog%3D\",\"ftclog%3E\",\"ftclog%3F\",\"ftclog%40\",\"ftclogA\",\"ftclogB\",\"ftclogC\",\"ftclogD\",\"ftclogE\",\"ftclogF\",\"ftclogG\",\"ftclogH\",\"ftclogI\",\"ftclogJ\",\"ftclogK\",\"ftclogL\",\"ftclogM\",\"ftclogN\",\"ftclogO\",\"ftclogP\",\"ftclogQ\",\"ftclogR\",\"ftclogS\",\"ftclogT\",\"ftclogU\",\"ftclogV\",\"ftclogW\",\"ftclogX\",\"ftclogY\",\"ftclogZ\",\"ftclog%5B\",\"ftclog%5C\",\"ftclog%5D\",\"ftclog%5E\",\"ftclog_\",\"ftclog%60\",\"ftcloga\",\"ftclogb\",\"ftclogc\",\"ftclogd\",\"ftcloge\",\"ftclogf\",\"ftclogg\",\"ftclogh\",\"ftclogi\",\"ftclogj\",\"ftclogk\",\"ftclogl\",\"ftclogm\",\"ftclogn\",\"ftclogo\",\"ftclogp\",\"ftclogq\",\"ftclogr\",\"ftclogs\",\"ftclogt\",\"ftclogu\",\"ftclogv\",\"ftclogw\",\"ftclogx\",\"ftclogy\",\"ftclogz\",\"ftclog%7B\",\"ftclog%7C\",\"ftclog%7D\",\"ftclog~\",\"ftclog%7F\",\"ftclog%80\",\"ftclog%81\",\"ftclog%82\",\"ftclog%83\",\"ftclog%84\",\"ftclog%85\",\"ftclog%86\",\"ftclog%87\",\"ftclog%88\",\"ftclog%89\",\"ftclog%8A\",\"ftclog%8B\",\"ftclog%8C\",\"ftclog%8D\",\"ftclog%8E\",\"ftclog%8F\",\"ftclog%90\",\"ftclog%91\",\"ftclog%92\",\"ftclog%93\",\"ftclog%94\",\"ftclog%95\",\"ftclog%96\",\"ftclog%97\",\"ftclog%98\",\"ftclog%99\",\"ftclog%9A\",\"ftclog%9B\",\"ftclog%9C\",\"ftclog%9D\",\"ftclog%9E\",\"ftclog%9F\",\"ftclog%A0\",\"ftclog%A1\",\"ftclog%A2\",\"ftclog%A3\",\"ftclog%A4\",\"ftclog%A5\",\"ftclog%A6\",\"ftclog%A7\",\"ftclog%A8\",\"ftclog%A9\",\"ftclog%AA\",\"ftclog%AB\",\"ftclog%AC\",\"ftclog%AD\",\"ftclog%AE\",\"ftclog%AF\",\"ftclog%B0\",\"ftclog%B1\",\"ftclog%B2\",\"ftclog%B3\",\"ftclog%B4\",\"ftclog%B5\",\"ftclog%B6\",\"ftclog%B7\",\"ftclog%B8\",\"ftclog%B9\",\"ftclog%BA\",\"ftclog%BB\",\"ftclog%BC\",\"ftclog%BD\",\"ftclog%BE\",\"ftclog%BF\",\"ftclog%C0\",\"ftclog%C1\",\"ftclog%C2\",\"ftclog%C3\",\"ftclog%C4\",\"ftclog%C5\",\"ftclog%C6\",\"ftclog%C7\",\"ftclog%C8\",\"ftclog%C9\",\"ftclog%CA\",\"ftclog%CB\",\"ftclog%CC\",\"ftclog%CD\",\"ftclog%CE\",\"ftclog%CF\",\"ftclog%D0\",\"ftclog%D1\",\"ftclog%D2\",\"ftclog%D3\",\"ftclog%D4\",\"ftclog%D5\",\"ftclog%D6\",\"ftclog%D7\",\"ftclog%D8\",\"ftclog%D9\",\"ftclog%DA\",\"ftclog%DB\",\"ftclog%DC\",\"ftclog%DD\",\"ftclog%DE\",\"ftclog%DF\",\"ftclog%E0\",\"ftclog%E1\",\"ftclog%E2\",\"ftclog%E3\",\"ftclog%E4\",\"ftclog%E5\",\"ftclog%E6\",\"ftclog%E7\",\"ftclog%E8\",\"ftclog%E9\",\"ftclog%EA\",\"ftclog%EB\",\"ftclog%EC\",\"ftclog%ED\",\"ftclog%EE\",\"ftclog%EF\",\"ftclog%F0\",\"ftclog%F1\",\"ftclog%F2\",\"ftclog%F3\",\"ftclog%F4\",\"ftclog%F5\",\"ftclog%F6\",\"ftclog%F7\",\"ftclog%F8\"]\r", got URIError: URI malformed
The above file ftclog is actually less than an Mb. But Bangle stops writing to it after a certain point and throws 'file too big' error. Question is, how big a file can I write? Should it be 4Mb-Firmware size? Is that transparent if I use StorageFile or are there some tricks I am missing.
Update : Removed 3rd point which is unrelated to large files.
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.
I am having a few issues with large files
"My files" tab seems to crash if it tries to show all the segments with an error like follows:
The above file
ftclog
is actually less than an Mb. But Bangle stops writing to it after a certain point and throws 'file too big' error. Question is, how big a file can I write? Should it be 4Mb-Firmware size? Is that transparent if I useStorageFile
or are there some tricks I am missing.Update : Removed 3rd point which is unrelated to large files.