* create a ChType_Enum to go with SetChannelEnum
* resolve build errors for ChType_Enum PR
* fixing build errors for simulator and others for cmd_enums.c
* added ChType_ReadOnlyEnum and assocaited enum selftests
* ChType_Enum simulation and memory error corrections
* ChType_Enum documentation updates
* ChType_Enum autoexec example corrections
---------
Co-authored-by: root <root@stonacek.nz>
Co-authored-by: kcstonacek <kcstonacek@stonacek.nz>
* Get the next sunset or sunrise values as TimerSeconds to allow setting a light's initial sate.
* Fix BL602 & W600 builds, and add some self test asserts for get sunrise/sunset
* Clock based self tests fail if they are not run in Europe time zone.
Update all usages of localtime to be gmtime. On windows local time is has the timezone applied on top of the sourceTime parameter, OpenBK app manages its own timezone and applies it to g_ntpTime appropriately, so gmtime will avoid the additional timezone application on windows machines.
* Simplify sample autoexec to avoid functionality that has not been implemented yet.
* Update docs
* Small fix in autoexe file
No brackets allowed, multiplications before addition appears to work