EDDC Release Notes

Enhanced DDC Release Notes

 
By Using This Website, You Agree To This Website Linked Disclaimer 
 

The Enhanced Display Driver Code

 The Enhanced Display Driver Code
 Return To The Enhanced Display Driver Code Page.  This link will take you back to the Enhanced Display Driver Code Webpage. The Enhanced Display Driver Code page gives all the directions to installing and running this Enhanced Display Driver Code. It also gives directions to updating the supporting database files.
 

The Original ON7LDS Nextion Display Driver Code

This project is NOT an attack on ON7LDS, their other programmers, and their Nextion Display Driver Code, the NDDC Project. IF it wasn't for their initial work that they have done so far, all the way up to version 1.19, We here wouldn't be doing this project, the Enhanced Display Driver Code, the EDDC. We encourage them to continue their project.
 
We make this known as We have been made aware of certain grumblings from those who wish to say things which aren't true. There will always be malefactors who wish to destroy anything however they can, cause dissension among others who are not directly involved, and even cause resentment between the parties that are involved.
 
We have NO animosity towards ON7LDS and the other programmers of their version of the NDDC project. It's crazy to have to make such statements here, yet, the world We all live in has so many detractors these days. SO, with all of this being said, IF these lies have already landed back in the lap of ON7LDS and their other programmers, We here wish to set the record straight.
 
We here are extremely grateful for ALL of their coding aspirations thus far.
 

The Programming Knowledge Here

I, AG4OJ, have never been a professional programmer. Like my life long history in everything else I've ever done, I'm self taught. I wish to thank those who plunged me into the deep end of the programming swimming pool, encouraging me to start the recoding process of the NDDC, the new EDDC. This keeps me connected to my abilities and helps me disconnect from my Federal Government, Military, and VA caused disabilities.
 
Their praises over my NDC, provided here since October 2019, gave them the idea into pushing me in January 2021 to start recoding the NDDC, the making of the new EDDC. Please know that I still rely on these professional contacts and their extensive knowledge in programming. It's their unfettered help that keeps me from drowning in the deep end of the programming swimming pool. To which I will finally say, all of this is their fault, they pushed me in, HA!
 

HMI - The Human Machine Interface

The Human Machine Interface, the HMI, is what this is all about. The Human is you and/or me. We are the ultimate control over the Machine by using it's Interface, mostly. The Machine here is Raspberry Pi OS, Pi-Star, the MMDVMHost, and the Enhanced Display Driver Code. The Interface is the Nextion Display and it's Nextion Display Code.
 
We have to allow the Raspberry Pi OS to do what it can do best first. Then, the same with Pi-Star, the MMDVMHost, and the Enhanced Display Driver Code. Making most things happen "Up-Stream" of the Nextion Display and the Nextion Display Code, is the reason for this re-coding project.
 
By attacking it this way, the HotSpot / Repeater that You and I build in the future can then become a more complete, independent, self-contained, quickly responding, and an easy to use all-in-one appliance. By using programming methods outlined above, this will utilize every aspect of the Machine to help make the Interface respond to what the Human expects intelligently.
 

MMDVMHost Messages Sent On ALL Screens

The MMDVMHost messages below are processed by the EDDC and manipulated. They could be parsed and handled ONLY for their values. They are never displayed in their RAW form anywhere on any of the screens.
 
page MMDVM / DSTAR / DMR / YSF / P25 / NXDN / M17 - (EDDC Timed PASSTHROUGHT)
 
sleep=0/1 - (EDDC Generated / EDDC Timed)
 
dim=NNN - (EDDC Timed PASSTHROUGHT)
 
MMDVM.status.val=nnn - (EDDC mostly SUPPRESSED - HostMsgFlags)
 
click S0,1 - (EDDC mostly SUPPRESSED - HostMsgFlags)
 

Explaining The EDDC Variables

We have moved the list of MMDVMHost Settings File Variables out of the Release Notes.
 
ScreenSaver is to activate, NON-ZERO Value, and time in seconds for the screen saver.
 
The Screen Saver will blank the IDLE Screen when it times out. When the Screen is TOUCHED or A Mode CALLER comes through, LOCAL or NETWORK Tranmission, the Screen will come to life again. If still on the IDLE Screen, the timer will reset to the set time-out time in seconds. A ZERO setting will turn it off. The minimum value is 10, or it will be set to 10 internally (1-9 is reset to 10).
 
GenerateCPU is to activate, NON-ZERO Value, and time is seconds to sending out CPU statistics.
 
HostMsgFlags are for removing MMDVMHost messages from the serial data stream.
 
HostMsgFlags = (Hexadecimal Format, NO "0x" needed, Preset Default Setting 0037)
0000 0000 0000 0000
            21 8421
            || |||\- Bit to remove MMDVM dim (Brightness Settings)
            || ||\-- Bit to remove MMDVM.status.val=number
            || |\--- Bit to remove MMDVM click
            || \---- Bit to remove MMDVM page (Test Mode-Do Not Set)
            |\------ Bit to remove MMDVM t20 (Temperature)
            \------- Bit to remove MMDVM Page 0/MMDVM t3,t4,t5,t30,t32
 
NextMsgFlags are for adding EDDC messages to the serial data stream.
 
NextMsgFlags = (Hexadecimal Format, NO "0x" Needed, Preset Default Setting 0023)
0000 0000 0000 0000
            21 8421
            || |||\- Bit to Create dim (Brightness Settings)
            || ||\-- Bit to Create modes
            || |\--- Bit to Activate WaitForLan
            || \---- Bit to Send Country Name
            |\------ Bit to Send Wake On Touch (MMDVM Screen)
            \------- Bit to Create Formatted Parms
 
When using your own Nextion Display Code, NextMsgFlags needs to be set to 003F. This makes sure that certain features that the NDCVerB code offered here already does internally, This newer setting helps your Nextion Display Code function properly with the EDDC seamlessly.
 
ShowIndexes is for showing database indexes with callsigns on the Nextion Screen.
 
ShowIndexes = (Hexadecimal Format, NO "0x" needed, Preset Default Setting 0000)
0000 0000 0000 0000
8421 8421 8421 8421
|||| |||| |||| |||\- Bit for Database Index Display On D-Star
|||| |||| |||| ||\-- Bit for Database Index Display On DMR
|||| |||| |||| |\--- Bit for Database Index Display On YSF/FCS
|||| |||| |||| \---- Bit for Database Index Display On P25
|||| |||| |||\------ Bit for Database Index Display On NXDN
|||| |||| ||\------- NOT USED
|||| |||| |\-------- Bit for Database Index Display On M17
|||| |||| \--------- NOT USED
|||| |||\----------- NOT USED
|||| ||\------------ Bit for DMR ID Number Display On DMR
|||| |\------------- Bit for DMR ID Number Display On YSF/FCS (Some Are Actually Doing This)
|||| \-------------- Bit for DMR ID Number Display On P25
|||\---------------- Bit for NXDN ID Number Display On NXDN (FUTURE)
||\----------------- NOT USED
|\------------------ NOT USED
\------------------- NOT USED
 
This is for database trouble shooting, YET, it will add a nice index number / DMR ID / NXDN ID next to a decoded callsign. IF the number / ID is decoded, then the number will be represented next to the Callsign IF Activated. (These Activations, for DMR / P25 / NXDN number display, Requires Replacement Of DMRIds.dat and NXDN.csv files for the MMDVMHost, See Part B6: MMDVMHost - Making The ID Numbers Show On The Nextion Display on the "Expanded Notes On Installing The NDDC and EDDC Drivers" webpage.)
 
IF the callsign is NOT decoded, as NOT showing user information, then it will display a "-1" next to the callsign. IF the DMR/P25/NXDN ID is NOT decoded, as NOT showing user information, then only the DMR/P25/NXDN ID will show on the display. The index numbers for callsign decodes are not assignable, this as the database grows, the index numbering will shift.
 

EDDC-IDLE Release Notes

 The EDDC-IDLE Release Notes
 The EDDC-IDLE Release Notes Link. These Release Notes are for those who are writing their own Nextion Display Code and are looking to use the extra functionality of this EDDC. This subsection for the IDLE screen or page is meant to help those program their own HMI files.
 

EDDC-DSTAR Release Notes

 The EDDC-DSTAR Release Notes
 The EDDC-DSTAR Release Notes Link. These Release Notes are for those who are writing their own Nextion Display Code and are looking to use the extra functionality of this EDDC. This subsection for the DSTAR screen or page is meant to help those program their own HMI files.
 

EDDC-DMR Release Notes

 The EDDC-DMR Release Notes
 The EDDC-DMR Release Notes Link. These Release Notes are for those who are writing their own Nextion Display Code and are looking to use the extra functionality of this EDDC. This subsection for the DMR screen or page is meant to help those program their own HMI files.
 

EDDC-YSF Release Notes

 The YSF-DSTAR Release Notes
 The EDDC-YSF Release Notes Link. These Release Notes are for those who are writing their own Nextion Display Code and are looking to use the extra functionality of this EDDC. This subsection for the YSF screen or page is meant to help those program their own HMI files.