adafruit / Adafruit_CircuitPython_BLE_File_Transfer

Simple (not fast) File Transfer service for BLE
MIT License
27 stars 4 forks source link

Add code eval command? #24

Closed EternityForest closed 1 year ago

EternityForest commented 1 year ago

While it's not technically file transfer related, almost all of the existing stuff references date and time and would be more useful with a reliable standard way to set it, and adding more protocols and connections to constrained devices might not be the best plan.

Other issues have also mentioned formatting the filesystem, and interactive console use almost always seems to be involved when debugging.

Having a general purpose way to remote execute some Python would solve a lot of problems:

You could have a persistent locals() environment to run the code in, that resets itself on disconnect to free up RAM.

tannewt commented 1 year ago

File transfer is designed to be agnostic to where it is used. If you want CircuitPython specific stuff, then you can do it over the serial BLE link.