meshtastic / protobufs

Protobuf definitions for the Meshtastic project
https://meshtastic.org
GNU General Public License v3.0
77 stars 115 forks source link

Delete File by path admin message #424

Closed garthvh closed 7 months ago

garthvh commented 7 months ago

Years later there remains no way to delete the CSV file for range tests, create an admin messages so this file can be deleted.

geeksville commented 7 months ago

This issue has been mentioned on Meshtastic. There might be relevant details there:

https://meshtastic.discourse.group/t/how-to-reset-the-csv-file/9430/5

andrekir commented 7 months ago

this still works:

powershell: Invoke-RestMethod -UseBasicParsing -Uri "http://meshtastic.local/json/fs/delete/static?delete=static/rangetest.csv" -Method Delete

maybe one of the web devs can implement this on the web client.

thebentern commented 7 months ago

We can probably re-use that underlying method. Adding an admin message will let us do it on non-wifi hardware like Pico and Nrf52.