to add new feature easily, the definition of ScreenLayout in [Nextion]
has changed like this.
ScreenLayout < 8: compatibile setting for old config file
0: G4KLX @ 9600bps
1: (reserved)
2: ON7LDS @ 9600bps
3: ON7LDS-DIY @ 9600bps
4: ON7LDS-DIY @ 115200bps
ScreenLayout >= 8: new world, set the bit to enable each feature
bit3 (8) use 115200bps
bit4 (16) Display DMR Talker Alias
bit5 (32) Colour change when displaying TA
bit6 (64) Font size change when displaying long TA text
bit7 (128) Display DIY status when MMDVM IDLE
old settings are same as:
0 -> 0
2 -> 112 (16+32+64)
3 -> 144 (16+128)
4 -> 152 (8+16+128)
Add variables for TX Freq (t30), RX Freq (t32), CPU Temp (t20), and
Location (t31) to Base MMDVM page. These variables are available with
Layout ON7LDS L3 or higher. This allows more dynamic info to be
displayed without having to use the optional NextionDriver. Note, this
doesn't add touch support. For that, use the NextionDriver.
Fixed command mangling occuring during serial writes to Nextion due to
no ready-state monitoring of display readiness. Added simple thread
sleep to pace the commands as they are sent. Allows the display a
chance to process the command before another one is blasted in.
Prevents mangling of commands sent before display is ready to accept
them. Hardwired to 10 msec--let's see if that's enough.
Added setting in mmdvm conf file, Section: [Nextion] Setting:
DisplayTempInFahrenheit Value= 0 (default) for C. 1=Fahrenheit This
controls the value sent to t20.
This affected Nextion screen in DMR mode when a station had a long name associated with their callsign ...
Eg: G4BMW CHRISTOPHER
... was causing the 30 char text buffer to overflow.
Text buffer increased to 50 chars.
New parameter for selecting ON7LDS Nextion screen layout
The active ip address of the host is showed on main screen
Nextion DMR page:
* Talker alias (if available) will be decoded and displayed (in green to know it's the TA)
* Font will get smaller if TA is to long
GPS data will be decoded and logged
* better looking fonts
* DMR talker alias is shown (in green) if received
* font is automaticly adapted when TA would be too long for display
* DMR ID, call or TA (depending on what was shown) goes to gray at voice end
* "MMDVM stopped" at rest screen when MMDVMHost application is ended
* active network interface and IP address on rest screen so you know how to contact it