Commit graph

27 commits

Author SHA1 Message Date
Shawn Chain
50c2500f82 Extract the DMR talker alias decode logic from Display.cpp 2018-12-08 22:09:59 +08:00
Jonathan Naylor
4bf15438d5 Integrate the new messages into the OLED display driver. 2018-10-31 16:54:57 +00:00
Michael Eckhoff
f3c8f73ad9 Add Support for OLED Rotate 2018-10-30 09:30:41 -05:00
KD4Z
ca35121b44 Add more dynamic variables and fix command manging
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.
2018-09-05 16:12:12 -04:00
root
64e3ae6d30 Better way to send to display that MMDVMHost is quitting 2018-08-15 18:17:42 +02:00
Andy Taylor
7d77ac537f
Fix compile error:
Compile time error:

# make -f Makefile.Pi.PCF8574
g++ -g -O3 -Wall -std=c++0x -pthread -DHD44780 -DPCF8574_DISPLAY -I/usr/local/include -c -o Display.o Display.cpp
Display.cpp: In static member function ‘static CDisplay* CDisplay::createDisplay(const CConf&, CUMP*, CModem*)’:
Display.cpp:581:4: error: ‘m_display’ was not declared in this scope
    m_display = new CHD44780(rows, columns, conf.getCallsign(), dmrid, pins, i2cAddress, pwm, pwmPin, pwmBright, pwmDim, displayClock, utc, conf.getDuplex());
    ^
Makefile.Pi.PCF8574:24: recipe for target 'Display.o' failed
make: *** [Display.o] Error 1

looks like every other instance of "m_display" was changed to "display" apart from line 581.
2018-08-02 22:50:15 +01:00
Jonathan Naylor
69f1a2154c Reformat the Display factory method slightly. 2018-07-31 07:54:27 +01:00
Shawn Chain
464d0fdc6f Move display creation from main class to static CDisplay::create() 2018-07-31 11:36:37 +08:00
Jonathan Naylor
b398bba1ea Add POCSAG processing and display code. 2018-06-11 21:30:49 +01:00
Jonathan Naylor
c3990c36ed Add NXDN to the display code. 2018-01-17 19:04:00 +00:00
ON7LDS
3b62bd1666 New Nextion screen layout with better looking fonts
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
2017-11-13 21:48:47 +01:00
Jonathan Naylor
90e4794a3d Revert "Devel" 2017-10-24 21:55:58 +01:00
root
3a9c011dfa Refinements of the Nextion displays
* 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
2017-10-02 21:04:46 +02:00
Jonathan Naylor
4db9f08d80 Fix formatting. 2017-02-13 08:54:25 +00:00
Jonathan Naylor
f0387d25dd Add BER display to the Nextion and reduce Talker Id logging. 2017-02-12 18:37:00 +00:00
Jonathan Naylor
3c9666e780 Display the RSSI on the Nextion screen. 2017-01-05 19:44:52 +00:00
Jonathan Naylor
25cfff3ada Merge branch 'master' into P25 2016-09-27 19:47:07 +01:00
phl0
28775026d4
Add timer to return from CW Ident 2016-09-15 15:17:51 +02:00
phl0
7246fde0ec
Add functions to Display.cpp and .h 2016-09-15 11:50:35 +02:00
Jonathan Naylor
7171af365d The P25 destination is an integer. 2016-09-12 20:23:50 +01:00
Jonathan Naylor
e2ec5292b5 Update the display code for P25. 2016-09-12 18:12:32 +01:00
Jonathan Naylor
90772a2a9b Add optional clocking for the displays. 2016-05-21 12:28:09 +01:00
Jonathan Naylor
14f36a175d Update the display and logging on incoming YSF network data. 2016-05-19 19:08:48 +01:00
Jonathan Naylor
9ed2c00b0c First go at System Fusion networking. 2016-05-16 21:57:32 +01:00
Jonathan Naylor
b594fce301 Changes to how the display timeout is handled. 2016-05-10 13:28:00 +01:00
Jonathan Naylor
bd5946ccd2 Add a display hang time so quick transmissions aren't missed. 2016-05-09 18:14:27 +01:00
Jonathan Naylor
d34d85c04b Initial commit 2016-01-14 18:45:04 +00:00