Program implements :
- UDP listener on port 1883
- Listens for JSON formed UDP packets {"id":123,"request":"status"}
- Sends UART inputs in raw mode back to last sender
- Sends LOGS in raw mode back to last sender
- Executes following BOOTLOADER STM32 commands
Command | JSON | DESC |
---|---|---|
reset | {"request":"reset","id":12} | pulse reset pin of stm32 and send at 115200 the sync char |
erase All memory | "eraseAll" | erase all flash memory |
erase Page memories | "eraseMemory","pages":"Base64 byte sequence" | erase selected pages of the STM32 flash |