juribeparada / MMDVM_CM

Cross-mode conversion tools for MMDVM software
44 stars 55 forks source link

P252DMR Connects Then Disconnects from HBLink #47

Open K2IE opened 4 years ago

K2IE commented 4 years ago

In trying to use P252DMR with HBlink3, P252DMR will successfully connect to HBlink, but only remain connected for about 15 seconds and then drop the connection. HBlink reports that P252DMR is dropping the connection:

INFO 2020-08-26 14:30:54,271 (P25 Test) Repeater Logging in with Radio ID: 123456704, 1.2.3.4.131:33824 INFO 2020-08-26 14:30:54,272 (P25 Test) Sent Challenge Response to 123456704 for login: 3570369517 INFO 2020-08-26 14:30:54,290 (P25 Test) Peer 123456704 has completed the login exchange successfully INFO 2020-08-26 14:30:54,309 (P25 Test) Peer b'N0CALL ' (123456704) has sent repeater configuration INFO 2020-08-26 14:31:14,096 (P25 Test) Peer b'N0CALL ' (123456704) has timed out and is being removed WARNING 2020-08-26 14:31:15,911 (P25 Test) Ping from Radio ID that is not logged in: 123456704

IP addr, callsign and DMR ID have been sanitized for public viewing, these are not the actual values used!

K2IE commented 4 years ago

In communication with the HBlink folks, the default config is that HBlink sends a udp ping every 5 seconds to the client. If the client missed three responses, the connection is dropped. It was suggested that I raise the number of retries. When I raised it to 5, it worked a little better (5x5=25 seconds), but there are still frequent drops.

Also I noticed that CPU is pegged at 100% of 1 core (RPi 3B) running P252DMR so there may be some condition going on that is inhibiting response time and overall performance.