public class FirmwareDownloadRequestHandler extends DMRequestHandler
MMqttClient.SERVER_TOPIC_INITIATE_FIRMWARE_DOWNLOAD
{ "reqId": "string" }
| Constructor and Description |
|---|
FirmwareDownloadRequestHandler(ManagedClient dmClient) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getTopic()
Return initiate firmware download topic
|
void |
handleRequest(com.google.gson.JsonObject jsonRequest,
String topic)
Following are actions that needs to be taken after receiving the command
If mgmt.firmware.state is not 0 ("Idle") an error should be reported with
response code 400, and an optional message text.
|
clearRequestHandlers, getDMClient, getObserveRequestHandler, messageArrived, notify, respond, setDMClient, setRequestHandlerspublic FirmwareDownloadRequestHandler(ManagedClient dmClient)
protected String getTopic()
getTopic in class DMRequestHandlerpublic void handleRequest(com.google.gson.JsonObject jsonRequest,
String topic)
handleRequest in class DMRequestHandlerCopyright © 2019. All rights reserved.