Page 1 of 1

command to list of current alternative messages set?

Posted: Fri Dec 21, 2018 12:06 pm
by mrten
Is there a command to list all current alternative messages used with AA/DA (and while we're on the subject, for the UI/KI and SR/KR command pairs?)

When I tried the UI command I was surprised to see when reading through the messages tab that there were default alternatives already set, and only by reading the assembly source of the gateway and trawling through the forum I found that IDs 116-123 are set as default alternatives.

or is there an (easy :)) way to dump all values from the eeprom in the PIC?

Re: command to list of current alternative messages set?

Posted: Sat Dec 22, 2018 11:44 am
by hvxl
There is no command built into the OTGW firmware to dump certain settings. It would take more code than fits in the limited space of the PIC. You can infer some settings by looking at the log.

The easiest way to obtain the values stored in the EEPROM is to perform a firmware upgrade (can be the same as the current firmware version) with the "Transfer old EEPROM settings to new firmware" setting switched on. After the firmware upgrade is complete, a button with a magnifying glass icon will appear. Click that button to see the transferred EEPROM settings.

Re: command to list of current alternative messages set?

Posted: Sat Dec 22, 2018 1:01 pm
by mrten
Will try, thanks for the tip!