From 27b0ad0fbec27e2215368f48225f09c3c309f230 Mon Sep 17 00:00:00 2001 From: Thomas Ballmann Date: Wed, 20 May 2020 12:52:07 +0200 Subject: [PATCH] code clean up and small improvements --- README.md | 5 +++- app/src/App.vue | 36 ++++++++++++--------------- include/wlan.h | 2 +- partitions_pd.csv | 6 ++--- src/main.cpp | 4 +-- src/wlan.cpp | 62 ++++++++++++++++++----------------------------- 6 files changed, 50 insertions(+), 65 deletions(-) diff --git a/README.md b/README.md index effe61f..703021b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,10 @@ yarn --cwd app build platformio run --target uploadfs # send a picture to display over json -curl -F 'myImage=@blackPNG.png' http://192.168.178.62/api/face +curl -F '=@test3.png;filename=dithering' http://192.168.178.62/api/face + +# get current picture as bmp +curl http://192.168.178.62/current-image --output current.bmp # erase flash memory pio run --target erase diff --git a/app/src/App.vue b/app/src/App.vue index 5754a70..4fc7529 100644 --- a/app/src/App.vue +++ b/app/src/App.vue @@ -15,13 +15,20 @@ --> - + paperdash.io - boxxi + {{ settings.device.name }} - {{ stats.wifi.rssi | wifiIcon(stats.wifi.secure) }} - {{ stats.device.time | moment("LT") }} + +