zStatus zFireSync_SendCommand(zFireSync fireSync, zFireSyncChannel channel, z64u timeout, zSerializer* reader);
|
Parameters |
Description |
|
zFireSync fireSync |
zFireSync object. |
|
zFireSyncChannel channel |
Server channel to send command (Control, Management, or Upgrade). |
|
z64u timeout |
Timeout for the command response, in microseconds. |
|
zSerializer* reader |
Receives a serializer that can be used to read the body of the response message. |
Sends a custom command and receives the response.
This function will read the message header; use the returned serializer to read the message body. The serializer object will be valid until the next zFireSync method is called.
zFireSync.h