Commit graph

83 commits

Author SHA1 Message Date
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
root df2b27f585 Fix buffer overflow when writing ipaddress info that became too long to Nextion display
(i.e. when using Predictable Network Interface Names in linux)
2018-08-15 15:59:53 +00:00
root b69db45cb0 Added POCSAG to ON7LDS layouts, Readme files update
Higher resolution POCSAG image for >320px
2018-07-28 10:57:35 +02:00
Jonathan Naylor 7ed8c9a214 Fix Nextion screen for long POCSAG messages. 2018-06-20 19:58:35 +01:00
Jonathan Naylor e57326aeef Clear the POCSAG screen properly. 2018-06-12 21:14:33 +01:00
Jonathan Naylor babb7a3adc Increase the Nextion POCSAG buffer size again. 2018-06-12 20:02:56 +01:00
Jonathan Naylor a084e14fdf Convert POCSAG text to be multi-line. 2018-06-12 19:23:38 +01:00
Jonathan Naylor 84dd3bf887 POCSAG bug fixing. 2018-06-12 19:14:22 +01:00
Jonathan Naylor b398bba1ea Add POCSAG processing and display code. 2018-06-11 21:30:49 +01:00
g0wfv 758d5b0007 Nextion.cpp: Change char buffer length to prevent buffer overflow
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.
2018-05-10 20:24:16 +01:00
ON7LDS 9ee9b4f6d6 Changes of Nextion related files to reflect the addition of NXDN 2018-03-18 16:32:27 +01:00
Jonathan Naylor 0ed7972ee7 Merge branch 'master' into nxdn 2018-02-06 07:14:26 +00:00
Jonathan Naylor ddb3206a30 Fix LCDProc and buffer sizes for the Nextion. Thanks to Tony G0WFV. 2018-02-06 07:11:00 +00:00
Jonathan Naylor d1ae3b0c18 Merge branch 'master' into nxdn 2018-02-05 20:05:39 +00:00
Jonathan Naylor 14a06e7182 Calculate the RSSI and BER correctly on the Nextion. 2018-02-05 19:07:23 +00:00
Jonathan Naylor c3990c36ed Add NXDN to the display code. 2018-01-17 19:04:00 +00:00
Jonathan Naylor 51e0bf0315 Remove compiler warnings. 2018-01-09 07:43:22 +00:00
ON7LDS eb14aeb861 Removed code to display DMR inband GPS data 2017-12-30 19:30:05 +01:00
ON7LDS eb787d89d3 removed GPS form Layout 2
changed status codes and ommitted cmd code
new example display layouts
2017-12-28 10:01:52 +01:00
ON7LDS 4b97e879f3 minor changes at Layout 3/4 output 2017-12-19 21:02:51 +01:00
ON7LDS f930a7fb9f added separate call / ID info to rest screen for DIY layouts 2017-12-17 19:09:28 +01:00
ON7LDS 54b6f5a648 corrected GPS DMS field for Nextion 2017-12-12 22:05:51 +01:00
ON7LDS 1ad3c67070 Added Layout 3 & 4, displaying GPS data, README files and HMI examples 2017-12-10 21:50:47 +01:00
ON7LDS 59c4ce47f0 New Nextion display layouts (3 and 4) which let you do all layout processing in the display itsself. 2017-12-05 20:50:56 +01:00
Jonathan Naylor 711bcbf745 Reformat code and make small alterations. 2017-11-15 10:47:56 +00:00
ON7LDS ec19b7dfab Add README file to the Nextion_ON7LDS directory
Nextion displays: Do not change colors or show TA when ScreenLayout is not ON7LDS
2017-11-14 19:46:29 +01: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
ON7LDS ea5be21ed6 Nextion display is queried to know it's layout so the new binary can function with 'old' and 'new' layouts.
It is done in a way to acommodate future layout changes (the display sends it's 'layout version')
2017-10-22 14:03:02 +02: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 742d61fef1 Make RSSI and BER display immediately on Nextion screens. 2017-02-13 08:20:40 +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 fc2d8e5ced Reduce the space needed for the RSSI information. 2017-01-06 08:46:06 +00:00
Jonathan Naylor 3c9666e780 Display the RSSI on the Nextion screen. 2017-01-05 19:44:52 +00:00
Jonathan Naylor 178e104d44 Allow the modem to host a serial display. 2016-10-06 18:38:16 +01:00
Jonathan Naylor 25cfff3ada Merge branch 'master' into P25 2016-09-27 19:47:07 +01:00
phl0 148b640397
Let the clock run on when transmitting CW 2016-09-15 16:57:10 +02:00
phl0 400659e3f1
Remove unused variable 2016-09-15 16:28:56 +02:00
phl0 5039b42027
Just replace the one text area 2016-09-15 16:27:06 +02:00
phl0 952bcb95ac
No need to switch to idle page 2016-09-15 15:51:48 +02:00
phl0 4ea3a7e591
Leave display in idle brightness for CW transmission 2016-09-15 15:47:48 +02:00
phl0 28775026d4
Add timer to return from CW Ident 2016-09-15 15:17:51 +02:00
phl0 7daa0b9c15
Rename according to already existing functions 2016-09-15 10:58:55 +02:00
phl0 756f5010a9
Add display of CW Ident to Nextion display 2016-09-15 10:44:21 +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
Morten Johansen c9386a1ee8 Make it build on OS X 2016-09-09 11:42:01 +02:00
Tony Corbett G0WFV b565400b24 Propagate locale fix to Nextion displays 2016-07-03 00:30:57 +01:00
Tony Corbett G0WFV da53f06197 Time/date format by system locale (HD44780 & Nextion) 2016-06-24 16:08:28 +01:00