# stm32_bootloader **Repository Path**: microroad/stm32_bootloader ## Basic Information - **Project Name**: stm32_bootloader - **Description**: STM32 bootloader driver via MQTT , JSON , SMING - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-10-12 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # stm32_bootloader STM32 bootloader driver via MQTT , JSON , SMING topics are structured like this /stm32/in/ : to send something to driver, who is sucbsribed to /stm32/in/# Topics - request : JSON structure for incoming request { "cmd" : string, "id":number ,"data":string base64 encoded } the data is a strean of byte codes steering the driver *X_RESET : toggle reset pin and send SYNC byte to stm32 , more details see STM32 bootloader protocol *X_WAIT_ACK : wait 10 msec on an ACK , return error if failed *X_SEND : send count+1 bytes *X_BOOT0 : set boot pin *X_RECV_VAR : receive variable number of bytes *X_RECV : receive count+1 bytes /stm32/ : topics to which the device/driver is publishing data Topics : log : log output of device reply : JSON object containing result data and error code