Commit graph

24 commits

Author SHA1 Message Date
Tony Corbett G0WFV
0db3cf10e8 Attempt to solve one cause of "No reply from modem" loop
"err 101" (network unreachable - effectively cant get to the master because we've lost the network)

This needs trapping and handling properly to smooth the way it currently tries to send from the socket as quickly as it can (effectively every millisecond) until the network is restored,  then does the same for "Opening IPSC" every millisecond or less until the login either times out (in which case I've edited the code to tell it to retry!) or logs into the master successfully.

This error also causes the "no reply from modem loop, however this is now trapped in all cases if the firmware is read successfully by stopping the inactivity timer, allowing the software to continue reading the modem.

It works for this particular error, but others may need to test!
2016-05-14 11:39:56 +01:00
Jonathan Naylor
7a3d77d5f5 Simplify the IPSC class. 2016-05-10 08:00:41 +01:00
Jonathan Naylor
efca4fa0cb Shorten the failure timeout. 2016-05-10 07:44:45 +01:00
Jonathan Naylor
3b48aa3985 Add more robustness to the IPSC link. 2016-05-10 07:20:38 +01:00
Jonathan Naylor
617a6cbfcb Handle failed writes cleanly. 2016-05-09 09:52:14 +01:00
Jonathan Naylor
89d41261d9 Handle a failing socket. 2016-05-04 08:06:12 +01:00
Jonathan Naylor
eeb618e58b Make the DMR IPSC connection more resiliant. 2016-05-03 21:42:51 +01:00
Jonathan Naylor
6f42e0dad3 Be more agressive at trying to reconnect after a failure. 2016-04-25 17:10:56 +01:00
phl0
bdc0bc9b8b Correct typo 2016-04-19 21:56:56 +02:00
Jonathan Naylor
9d03c83609 Allow for setting of outgoing port number on DMR networking. 2016-04-03 19:11:45 +01:00
Jonathan Naylor
4c80f52131 Standardise the number of headers transmitted. 2016-03-29 18:06:17 +01:00
Jonathan Naylor
49a278a952 Add the BER and a future RSSI to the DMR data. 2016-03-23 17:30:06 +00:00
Jonathan Naylor
c698cfb887 Further changes to HD44780 support on the Pi. 2016-03-15 07:12:52 +00:00
Jonathan Naylor
fd0f4a66e3 More changes to the DVMega name on DMR. 2016-03-09 15:34:51 +00:00
Jonathan Naylor
62df296a72 Tweak to DVMega name on DMR. 2016-03-08 17:41:35 +00:00
Jonathan Naylor
a2d456b98f Changes for DVMega via the host. 2016-03-08 17:26:51 +00:00
Jonathan Naylor
12fb99c00a Add more asserts to catch bugs. 2016-03-07 20:21:55 +00:00
Jonathan Naylor
b82b802e6e IPSC session start changes. 2016-02-29 06:45:40 +00:00
Jonathan Naylor
b6adf6931d Regularise the sending of headers and timeouts. 2016-02-28 17:40:15 +00:00
Jonathan Naylor
e11be44f79 Reduce the level of network debugging output a little. 2016-02-18 19:09:10 +00:00
Jonathan Naylor
177161c02d Add slot link information to the IPSC protocol. 2016-02-17 07:05:01 +00:00
Jonathan Naylor
945d79a3ca Allow for the disabling of individual slots from the network. 2016-02-15 20:36:05 +00:00
Jonathan Naylor
1bfa3688c0 Add debugging to the ring buffers. 2016-02-15 20:18:30 +00:00
Jonathan Naylor
5185a0c245 Renamed DMR protocol files. 2016-02-15 18:45:57 +00:00
Renamed from HomebrewDMRIPSC.cpp (Browse further)