file_distribution_resume
Tech
Resumes a previously paused (see: file_distribution_pause)
file distribution to the receiver devices.
Params
attribute |
description |
maxrate* unsigned int |
The maximum transmission speed in Kib/s |
Example
Return
attribute |
description |
state* 'running'|'inactive'|'paused' |
Receiving state of the device |
repository* 'mbm_fw' |
The repository holding the distributed file |
receiver_group* 'A'|'B'|'C'|'D' |
The receiver device group |
maxrate* unsigned int |
The maximum transmission speed in Kib/s |
losslimit* unsigned int |
The maximum acceptable packet loss as percentage |
progress unsigned int |
Indicates in percent the overall uploaded progress. The number is a rough approximation and can both increase and decrease. |
receivers* [Receiver] |
An array of receiver devices |
start_time* unsigned int |
Unix timestamp when the last send process started |
end_time unsigned int |
Unix timestamp when the last send process finished. If a send process is in progress must be null . |
end_status 'aborted'|'complete'|'failed' |
End status of the last send process. If a send process is in progress it must be null . |
Receiver
attribute |
description |
ip* string |
The device radio IPv4 address |
state* 'running'| 'unresponsive'|'aborted'|'done' |
The receiving status of the receiver device |
Example
{
"state": "sending",
"repository": "mbm_fw",
"receiver_group": "A",
"maxrate": 12,
"losslimit": 2,
"progress": 10,
"receivers": [
{
"ip": "1.1.1.1",
"state": "receiving"
},
{
"ip": "1.1.1.2",
"state": "done"
}
],
"start_time": 1660367142
}