Activates and executes a standard BCC download sequence, starting with the specified BCC command, on the current shell connection.
Syntax |
downloadSequence(bccmsg @cmd, bccmsg @asw, bccmsglist @list, uint timeout=10000): bool |
---|---|
cmd |
Reference to command message |
asw |
Reference to response message |
list |
Reference to list of messages received in relative order |
timeout |
Maximum operation end time [ms] |
Result |
Returns TRUE if the download sequence is completed, FALSE in all other cases. |
During execution of the sequence, all received messages are neatly queued in the specified list, and any incoming commands are rejected by a call to replyBusy(), indicating that the given channel is currently busy performing other tasks.
The absence of any message from the list of received messages does not necessarily mean an error in the operation, but of a download sequence request that is not being followed up by any particular data.