The stored file on section Download Camera Configuration can be provided to the camera restoring the setup. File integrity and validations are recommended and shall be implemented by the connector application.
Message Envelope For ZMQ Message
Frame | Field | Description | Type |
---|---|---|---|
1 | payload | Method payload | Binary String (UTF-8) |
payload
Field | Optional | Type | Description |
---|---|---|---|
TransactionID | Yes | String | Transaction identification. |
Action | No | String | Method called. Fixed value SetDeviceConfig |
DeviceID | No | String | Device identification. |
FileContent | No | String | Base64 string of the configuration file. Containing the mime type prefix. |
{
"TransactionID": "234423465465",
"Action": "SetDeviceConfig",
"DeviceID": "548451887",
"FileContent": "data:text/plain;base64,IyB7MDVEOEMyOTQtRjI5NS00ZGZiLTlEMDEtMDk2QkQwNDA0OUY0fQojIEdlbkFwaSBwZXJzaXN0ZW5jZSBmaWxlICh2ZXJzaW9uIDMuMS4wKQojIERldmljZSA9IEJhc2xlcjo6QmFzbGVyQ2FtRW11IC0tIEJhc2xlciBDYW0gRW11IGludGVyZmFjZSAtLSBEZXZpY2UgdmVyc2lvbiA9IDEuMC4xIC0tIFByb2R1Y3QgR1VJRCA9IEI5N0RFNTQ5LUNCOUEtNDRmOC05MzdELTY0QzQ4QkRFQ0ZBMyAtLSBQcm9kdWN0IHZlcnNpb24gR1VJRCA9IEEyRENERTE0LTczRTQtNDA4YS1BRkE4LTgxODUyRUNCNUQ5QQpHYWluCTAuMDAwZSswMApXaWR0aAkxMDI0CkhlaWdodAkxMDQwClBpeGVsRm9ybWF0CU1vbm84CkV4cG9zdXJlVGltZQkxMDAwMC4wCg=="
}
Response
Frame | Field | Description | Type |
---|---|---|---|
1 | payload | Response object | Binary String (UTF-8) |
Response Object
Field | Optional | Type | Description |
---|---|---|---|
TransactionID | Yes | String | Transaction identification. |
ReturnCode | No | Integer | Message code following Message Codes. |
Message | Yes | String | Response message |
{
"TransactionID": "234423465465",
"ReturnCode": 0,
"Message": "Configuration loaded."
}