Administrator
|
To control the Master Controllers (MC) use of the Memory, the Map Structure will define how the memory is used to store data relating to Config, Tags, Mode of operation etc. When a MC is powered up, it will asked for a reference number (10 Digit) / Alternately if there was Unique ID number from the CPU or another source, the Keypad could be used to invoke the MC to check-in to the Web to get its Setup information. { NB: if we do have to modify the current board, we can add the ID chip } If we use the reference code method, then the Tech will enter all the data into Web and will be given a Ref# that will be entered via the keypad or CC1310 link to a Laptop. Then MC will then link into the WEB and download its Memory Map starting with this command [0x01]
|
Administrator
|
Missing here is the Start and end Address of the Accounts.
NB: all Vehicles and Drivers belong to an Account |
Administrator
|
In reply to this post by NEAL SINGH
For this command, the best is that the payload has the information of each one field directly in bytes without any separator (|), for then in the arduino the byte array can be copied directly to the structure, without any parse or special treatment. Only will be checked that the version of the package matchs with the firmware version like FirstByte.SeccondByte (00.00 to 255.255 version numbers) before to copy for avoiding errors.
|
Administrator
|
In reply to this post by NEAL SINGH
Will be necessary to develop a command 0x00 that will ask to the device the firmware version, Memory map version and maybe the ID. With that information the Web server will be able to determine what memory map struct must to be used.
For that into the device will be a Firmware version that will change as the bugs are fixed and a memory map version to be used in the begining for matching the maps information. For that the second field of the previous table will be the Firmware Memory Map version. |
Free forum by Nabble | Edit this page |