Changes between Version 27 and Version 28 of Software/Gateway
- Timestamp:
- 11/26/10 11:17:36 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/Gateway
v27 v28 171 171 * receive '''InitFirmwareUpdate''' - wait for max 3sec. until server response with this message indicating that firmware can be now uploaded. 172 172 * send '''UploadFirmware''': ''src='f' '', ''dst='u' '' - here the len:lenx is a 16bit number indicating the length in bytes of the data (i.e. firmware) following in the data part of the message. The priority field must contain the checksum (16 bit) delivered with the firmware data. And finally both last reserved bytes in the header must contain the firmware version we are uploading. The data field of this message must contain the full firmware data which will be directly uploaded to the unit. 173 * receive '''UploadFirmware''' - server responses with this message every time when next chunk of bytes has been uploaded to the device. Client application can use the response in order to indicate how much of the data has been already uploaded. The len:lenx field contains number of bytes already uploaded to the device. 174 173 * receive '''UploadFirmware''' - server responses with this message every time when next chunk of bytes has been uploaded to the device. 174 * Client application can use the response in order to indicate how much of the data has been already uploaded. 175 * The len:lenx field contains number of bytes already uploaded to the device. 176 * The priority field contains 16 bit error code if upload failed (0=NO ERROR, ...) 175 177 176 178 ----