on7lds / NextionDriver

Driver program to connect MMDVMhost with Nextion Displays, adding extra functionality
34 stars 33 forks source link

BI7JTA MMDVM V3F4 Nextion I can not (yet) check or update modem connected displays #31

Open DL9AM opened 7 months ago

DL9AM commented 7 months ago

Hello

i use the MMDVM V3F4 from BI7JTA Winter. Read out from Raspberry Pi MMDVM Modem Port to Display work perfectly.

Because detection of Display or sending commands from Display to Raspberry Pi (Reboot, Shutdown) dont't work ;-(

Here: pi-star@pi-star(rw):~$ sudo NextionDriver -d -c /etc/mmdvmhost Starting in console mode... NextionDriver version 1.25 Copyright (C) 2017...2021 ON7LDS. All rights reserved. Starting with verbose level 2 Reading configuration file /etc/mmdvmhost Found RX Frequency 431962500 Found TX Frequency 439562500 Found Location [Herzberg am Harz, JO51EP] Use Transparent Connection: YES Send Frame Type: YES Local port: 40094 Remote port: 40095 Found Virtual Port [/dev/ttyNextionDriver] Found Nextion Port [modem] RemoveDim: OFF WaitForLan: ON SleepWhenInactive: OFF Using verbose level 2 Running on Raspbian GNU/Linux 11 (bullseye) Pi-Star v 4.2.0 Opening ports /dev/ttyNextionDriver (=/dev/pts/5) <=> modem Data files directory: /usr/local/etc/ Groups file : 2024-02-01 12:58:06 (10 days old) Users file : 2024-02-01 12:58:06 (10 days old) Reading groups from /usr/local/etc/groups.txt Read 1443 groups. Reading users from /usr/local/etc/stripped.csv delimiter ',' DMRid in field 1 Call in field 2 Name in fields 3 + 4 Extra data in fields 5,6 and 7 Read 145873 users in 1183 ms. Sorted CALL table in 443 ms. Disk size : 14664 MB (10020 free) Started with screenLayout 4 Started with verbose level 2 Opening sockets ... Transparent Connection: talking socket open, fd=4 Try to bind 0.0.0.0 ... Transparent Connection: listening socket open, fd=5 Transparent data sockets active I can not (yet) check or update modem connected displays Starting with network interface eth0:44.149.124.2

With TTL USB Adapter or on HS HAT DUAL work perfectly. Only on BI7JTA V3F4 don't work Display detection / TX from Display.

Is there a problem with communication from NextionDriver ?

I hope you can look ;-)

Best regard from germany 73 DL9AM Marco

f5swb commented 7 months ago

Hello marco,

are you sure that the nextion is well connected on the modem board : red, blue, yellow, black, and another thing is that the usb-ttl is working at 115200bauds, the modem mode at 9600 bauds it's usually fixed in the tft file so you need to edit the hmi file, the tft files are not reversible beetween usb-ttl and modem modes, catch another screen file ready to run in modem mode. 73's F5SWB.

DL9AM commented 7 months ago

Hello,

 

when i load debug, you see :

 

@.***(ro):~$ sudo NextionDriver -d  -c /etc/mmdvmhost Starting in console mode... NextionDriver version 1.25 Copyright (C) 2017...2021 ON7LDS. All rights reserved. Starting with verbose level 2 Reading configuration file /etc/mmdvmhost Found RX Frequency 431962500 Found TX Frequency 439562500 Found Location [Herzberg am Harz, JO51EP] Use Transparent Connection: YES   Send Frame Type: YES   Local port: 40094   Remote port: 40095 Found Virtual Port [/dev/ttyNextionDriver] Found Nextion Port [modem] RemoveDim: OFF WaitForLan: ON SleepWhenInactive: OFF Using verbose level 2 Running on Raspbian GNU/Linux 11 (bullseye) Pi-Star v 4.2.0 Opening ports  /dev/ttyNextionDriver (=/dev/pts/4) <=> modem Data files directory: /usr/local/etc/  Groups file : 2024-02-01 12:58:06 (17 days old)  Users file : 2024-02-01 12:58:06 (17 days old)   Reading groups from /usr/local/etc/groups.txt   Read 1443 groups.   Reading users from /usr/local/etc/stripped.csv    delimiter ','    DMRid in field 1    Call  in field 2    Name  in fields 3 + 4    Extra data in fields 5,6 and 7   Read 145873 users in 2350 ms.   Sorted CALL table in 712 ms. Disk size : 14276 MB (9836 free) Started with screenLayout 4 Started with verbose level 2 Opening sockets ... Transparent Connection: talking socket open, fd=4 Try to bind 0.0.0.0 ... Transparent Connection: listening socket open, fd=5 Transparent data sockets active I can not (yet) check or update modem connected displays Starting with network interface eth0:44.149.124.2  

In my mmdvmhost, i have test with all aviable baud rate 9600, 19200 and highspeed. All the same.

The Nextion Display is correct connected on the modem Port of Winters V3F4.

 

When i connect with usb-ttl, the "I can not (yet) check or update modem connected displays" give the correct information of connected Nextion Display.

 

When i use your driver with the HS_DUAL_HAT modem port, the Nextion works so the usb-ttl fine.

Only on F3V4 is the problem, that the Display sign the TX from F3V4 -> Nextion OK, because TX to F3V4 don't work (Detection and "Reboot,Reset" not work).

I mean, the Display sign all information DB0OHA, Freq, Location, System Information... all ok, because the returning from Display not work -> "I can not (yet) check or update modem connected displays".

 

Can you test with Nextion and Winters F3V4 for me ? (have you the components) ?

 

Mit freundlichen Grüßen Marco Dittmann

73 DL9AM @ DB 0 OHA und DB 0 YZ

   

Gesendet: Sonntag, 18. Februar 2024 um 17:54 Uhr Von: "Dimitri" @.> An: "on7lds/NextionDriver" @.> Cc: "DL9AM" @.>, "Author" @.> Betreff: Re: [on7lds/NextionDriver] BI7JTA MMDVM V3F4 Nextion I can not (yet) check or update modem connected displays (Issue #31)

 

Hello marco,

are you sure that the nextion is well connected on the modem board : red, blue, yellow, black, and another thing is that the usb-ttl is working at 115200bauds, the modem mode at 9600 bauds it's usually fixed in the tft file so you need to edit the hmi file, the tft files are not reversible beetween usb-ttl and modem modes, catch another screen file ready to run in modem mode. 73's F5SWB.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

on7lds commented 7 months ago

might be an issue : https://github.com/g4klx/MMDVMHost/issues/796 We're working on it

DL9AM commented 7 months ago

Hello,

so with change from Jonathan, must you do a update of NextionDriver ?

So that the pi-star mw0mwz and w0chp can make a update for all ?

thank you very mutch

73 DL9AM Marco