Changes between Version 25 and Version 26 of Software/Gateway


Ignore:
Timestamp:
11/25/10 20:15:06 (13 years ago)
Author:
art
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/Gateway

    v25 v26  
    158158Since a Gateway is sitting on the hardware IBus and provides a service of connecting to this bus through network, I decided to extend its functionality to some high level services. Here is a list of supported high level services and protocol how to use them. 
    159159 
    160 === Firmware Update === 
     160== Firmware Update == 
    161161An OpenBM-Gateway can also be used to update the firmware on the OpenBM device. The firmware update is done by the protocol described [wiki:Stuff/FirmwareUpdate here]. The OpenBM-Gateway server takes care of the low-level implementation of that protocol. A client application need just to initiate an update and check result from the server. 
     162 
     163=== Firmware Version === 
     164In order to check currently installed firmware version OpenBM need to be reset. Hence on the low level side, the gateway send a reset message over the ibus and receive from the OpenBM's bootloader the currently installed firmware version. This version is passed then back to the client connected over the network. 
     165 
     166In order to initiate firmware version check a client need send a message: 
     167  * '''GetFirmwareVersion''': ''src='f''', ''dst='g''' - Server will answer with the same message after some amount of time, where the current version is stored in the priority field of the header (high byte for major version and low byte for minor version) 
     168 
     169 
    162170 
    163171