adafruit / Adafruit_CircuitPython_BLE_File_Transfer

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

Add Move #4

Closed tannewt closed 3 years ago

tannewt commented 3 years ago

This command is a bit tricky because it is the first to take in two paths. Generally, we only take a single path in. Internally to CircuitPython we have a single static packet buffer that takes in the header and the first path. This buffer size therefore, limits the length of the input path. If we add a second path to the command, we then would halve the amount of space per path.

An alternative would be to have some dynamic memory for the second path but that is not simple.