Remote logs management

Implementing MQTT based log management (reading and searching)

Commands go via:
/<username/devices/<device-id>/logs-req
Response:
/<username/devices/<device-id>/logs-resp

Command JSON:

{
“device”:“DEVICE_ID”,
“command”:“CMD_STRING”
}

Response JSON:

{
“device”:“DEVICE_ID”,
“command”:“CMD_STRING”,
“response”:“RESPONSE_STRING”,
“time”:“TIMESTAMP”,
“part”:PART_ID,
“data”:
[
“DATA1_STRING”,
“DATA2_STRING”,

“DATAN_STRING”
]
}