Jonathan Naylor
eba4ddeb2a
Use the Thread class for delays.
2016-06-06 17:40:27 +01:00
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
35632e0255
Remove a compiler warning.
2016-05-10 06:34:53 +01:00
Jonathan Naylor
68d58a3de6
Add the CW Id.
2016-05-09 21:55:44 +01:00
Jonathan Naylor
ed6586fa58
Split the DMR TX hang time from the mode hang time.
2016-05-05 17:56:18 +01:00
Jonathan Naylor
d94324899a
Improve the start of the modem.
2016-04-14 19:03:51 +01:00
Jonathan Naylor
7c1fc0fbd0
Read the status early to avoid timeouts.
2016-04-13 08:14:30 +01:00
Jonathan Naylor
3a5b6c2798
Increase the modem inactivity timeout a little.
2016-04-13 07:51:43 +01:00
Jonathan Naylor
8f836716b8
COnvert to handling new style YSF data from the modem.
2016-04-12 21:33:16 +01:00
Jonathan Naylor
582775aeed
Add a playout timer to avoid flooding the modem with data.
2016-03-31 11:42:12 +01:00
Jonathan Naylor
d3f8e65dd8
Slow down the modem status polling.
2016-03-29 17:56:30 +01:00
Jonathan Naylor
b19c46ff2c
Add an error display.
2016-03-21 22:47:58 +00:00
Jonathan Naylor
a3c25766c0
Handle any frequency offset in the oscillator.
2016-03-21 21:50:45 +00:00
Jonathan Naylor
dc08c18db7
Handle the slow delivery of serial data from the modem better.
2016-03-21 18:16:58 +00:00
Jonathan Naylor
471b8165c9
Rationalisation of debugging messages.
2016-03-17 22:46:37 +00:00
Jonathan Naylor
efa9ec1977
Add DMR slot delay parameter.
2016-03-17 18:12:14 +00:00
Jonathan Naylor
337ec7dc97
More warning messages for pathological modems.
2016-03-17 17:54:37 +00:00
Jonathan Naylor
40def7dd70
Drain the serial queue of invalid data.
2016-03-16 08:08:28 +00:00
Jonathan Naylor
702ea80edf
More intelligent handling of badly formed modem messages.
2016-03-16 07:56:27 +00:00
Jonathan Naylor
91c8cf6313
Change timing for Due reset in case of error.
2016-03-14 17:35:24 +00:00
Jonathan Naylor
12fb99c00a
Add more asserts to catch bugs.
2016-03-07 20:21:55 +00:00
Jonathan Naylor
560433e7ef
Add lockout mode.
2016-03-03 18:01:01 +00:00
Jonathan Naylor
0881df603d
Regenerate the header structures and fix the data header.
2016-02-22 18:12:24 +00:00
Jonathan Naylor
6c0c553a47
Debugging the set frequency command.
2016-02-18 19:29:28 +00:00
Jonathan Naylor
9125f7428c
Add frequency setting to the MMDVM modem protocol.
2016-02-18 17:37:23 +00:00
Jonathan Naylor
07d07a5397
Put in modem inactivity timer and resetting code.
2016-02-16 17:31:28 +00:00
Jonathan Naylor
1bfa3688c0
Add debugging to the ring buffers.
2016-02-15 20:18:30 +00:00
Jonathan Naylor
9ccc86050a
Debugging D-Star.
2016-02-01 21:44:40 +00:00
Jonathan Naylor
2cef149785
More intelligent D-Star space checking in the MMDVM driver.
2016-01-18 19:37:08 +00:00
Jonathan Naylor
636dd5a112
Use C++11 <cstdint> on Windows.
2016-01-14 23:25:52 +00:00
Jonathan Naylor
bab0c3492a
Log buffer overflows from the modem and handle master reboots cleanly.
2016-01-14 19:26:06 +00:00
Jonathan Naylor
d34d85c04b
Initial commit
2016-01-14 18:45:04 +00:00