-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Description
Espruino has supported uploading files as binary packets for the last few releases - it's faster and more reliable without flow control because it uses 'ack/nak' packets.
I've done a bunch of work to the IDE to move to UART.js's connection class that contains an espruinoSendFile function to handle this.
What we need to do now is actually use it.
Right now, code is transformed ready to send, and then it goes to wrap in saveOnSend.js which comes up with the actual JS code that's needed to send the file depending on the selected upload style and filename.
This needs to change, since what we'd now want to do is not wrap the code (just to send the current time/etc) but to then call connection.espruinoSendFile.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels