implemented update commands for berry driver

This commit is contained in:
joBr99
2022-03-12 12:49:08 +01:00
committed by GitHub
parent 687362b25b
commit e2d1d2f15e
2 changed files with 50 additions and 1 deletions

View File

@@ -25,11 +25,18 @@ Might be required to send the command twice (known issue, didn't investigate yet
Start's flashing a tft file to the nextion screen via Nextion Upload Protocol 1.2
Might be required to send the command twice (known issue, didn't investigate yet)
Webserver must be reachable via HTTP and support Range Header
Example: `FlashNextion http://192.168.75.30:8123/local/nspanel.tft`
- `GetDriverVersion`
Returns the version currently defined in the berry script
- `UpdateDriverVersion URL`
Downloads the autoexec.be script from the specified URL and loads it.
Besides the commands, serial input will be published on 'RESULT' Topic, depending on the input in one of the following formats:
- `{"CustomRecv":%s}`