SASANO Takayoshi
dad47317e6
set INADDR_ANY/IN6ADDR_ANY_INIT address string to m_socket
...
when CUDPSocket::open() is called with m_address (in CUDPSocket) is nothing,
IPv4 socket is created by "0.0.0.0" (INADDR_ANY) address.
This causes a problem that DMRGateway cannot connect to reflector on IPv6.
To choose default INADDR_ANY/IN6ADDR_ANY_INIT address, added
open(address_family) in UDPSocket.cpp.
Following code sets address string at construction, not modified.
NXDNNetwork.cpp
POCSAGNetwork.cpp
YSFNetwork.cpp
Other codes does not set, modified open() -> open(address_family)
DMRNetwork.cpp
DStarNetwork.cpp
MMDVMHost.cpp
MobileGPS.cpp
P25Network.cpp
RemoteCommand.cpp
RemoteControl.cpp
I think there is more clever method, but I have no other idea.
Maybe IPv6 support for digital radio works, but RemoteControl can work
IPv4 only.
2020-04-06 18:35:12 +09:00
SASANO Takayoshi
c92039d83b
modified for IPv6 supported CUDPSocket
2020-04-06 18:34:54 +09:00
Jonathan Naylor
4450caeddc
Update the copyright date.
2020-02-16 15:56:31 +00:00
Shawn Chain
88d91e420a
use enum DMR_OVCM_TYPES
2019-11-17 10:57:58 +08:00
Shawn Chain
2f9595949a
Change ovcm config to int value
2019-11-16 23:06:26 +08:00
Jonathan Naylor
aa7ae2371c
Merge pull request #533 from maierp/maier_p_ovcm_rx
...
Config setting for sending OVCM to network (RX)
2019-11-15 11:58:02 +00:00
Patrick Maier
7cdbbdecb0
fix missing changes of ovcmRX in MMDVMHost.cpp
2019-11-09 20:50:03 +01:00
Jonathan Naylor
f4f745d58c
Fix variable scope bug.
2019-11-05 12:44:56 +00:00
Jonathan Naylor
98e0869257
Re-introduce optional network DMR beacons.
2019-11-05 08:42:21 +00:00
Jonathan Naylor
6bababeb96
Add OVCM support.
2019-10-11 18:24:25 +01:00
sp5lg
bb0bd4bb46
DStar SelfOnly with WhiteList (beautyfied)
2019-10-06 16:29:57 +02:00
sp5lg
ed79a7176a
DStar SelfOnly with WhiteList
2019-10-06 16:15:25 +02:00
Christopher Hewitt
839a8c83ea
Increase data buffer size to avoid buffer overflow for P25.
2019-09-03 15:22:24 -04:00
Jonathan Naylor
72fe13780f
Remove the old System Fusion SQL config option and processing.
2019-02-12 11:29:05 +00:00
Jonathan Naylor
fe2a01e1b1
Fix DMR beacon bug spotted by Shawnchain.
2019-01-26 12:56:24 +00:00
phl0
79805f0fa8
Fix typo
2019-01-23 10:09:34 +01:00
Jonathan Naylor
9b2352c877
Beginnings of allowing for local POCSAG message transmissions.
2019-01-22 21:33:49 +00:00
Jonathan Naylor
ec986d97ee
Fixed silly bug.
2019-01-22 14:56:15 +00:00
Jonathan Naylor
b2050e673b
Allow for optional fixed modes. Inspired by Adrian VK4TUX.
2019-01-22 14:38:38 +00:00
Jonathan Naylor
b57d42327a
Make the remote command handler more flexible and add an optional
...
timeout to the new mode.
2019-01-22 13:40:02 +00:00
Jonathan Naylor
8ae8894d6f
Remove the concept of fixed modes.
2019-01-21 08:42:32 +00:00
Jonathan Naylor
393b53f8a1
Enable the modes in Idle mode and when enabled (obviously).
2019-01-19 21:28:58 +00:00
Jonathan Naylor
ae9e6ea6ab
Reset the mode's state machines when going to the disabled state.
2019-01-19 17:15:24 +00:00
Jonathan Naylor
b16aaa653c
Add the concept of fixed modes.
2019-01-18 15:57:05 +00:00
Jonathan Naylor
76badb28f1
Add more intelligence to the remote control.
2019-01-15 21:45:29 +00:00
Jonathan Naylor
455755328a
Fix silly bug in remote control.
2019-01-11 13:02:33 +00:00
Jonathan Naylor
8366868382
Fix compile issue.
2019-01-10 21:50:57 +00:00
Jonathan Naylor
e52d0e619f
Move POCSAG to match the other modes.
2019-01-10 14:03:23 +00:00
Jonathan Naylor
335b56f4bd
Add busy lockout to remote mode handling.
2019-01-10 09:05:15 +00:00
Jonathan Naylor
8aa2f00c1b
Fixes for Windows.
2019-01-09 19:47:59 +00:00
Jonathan Naylor
b43a354343
Expand range of commands.
2019-01-07 13:54:52 +00:00
Jonathan Naylor
42a48209d4
Add remote control interface.
2019-01-07 11:03:37 +00:00
Shawn Chain
fba77bb95e
Add NullModem support
2018-12-07 17:36:11 +08:00
Jonathan Naylor
e847711d17
Add MobileGPS support for DMR.
2018-11-06 12:14:57 +00:00
Jonathan Naylor
d2e0d82d56
Fix and clean up the new lock file code.
2018-10-11 07:50:30 +01:00
Jonathan Naylor
edaf37101a
Add MMDVM lock file based on an idea by DB1OFH.
2018-10-10 20:05:24 +01:00
Luca Marchesano
f978a91519
Add select ack message dstar
...
AckMessage = 0 set BER status
AckMessage = 1 set RSSI status
2018-09-14 12:30:48 +02:00
root
574343c439
Process data from display to MMDVMHost (serial pass-through & transparent data)
...
also taking into account the sendFrameType parameter
Do not control Nextion backlight when active brightness is zero
2018-09-13 20:35:12 +02:00
root
64e3ae6d30
Better way to send to display that MMDVMHost is quitting
2018-08-15 18:17:42 +02:00
root
86fb3b6944
New option SendFrameType so one can send transparent data also to the modem serial port.
...
If set, one then has to specify the frame type (0x80 for modem serial of 0x90 for transparent data) as first byte af the message.
2018-08-13 20:39:16 +02:00
Shawn Chain
464d0fdc6f
Move display creation from main class to static CDisplay::create()
2018-07-31 11:36:37 +08:00
Shawn Chain
d715470b1c
Extract I2C logic from SerialController to separate class
2018-07-30 21:58:35 +08:00
Jonathan Naylor
f4718ebb9c
Fix Windows compile error.
2018-07-26 18:43:57 +01:00
Andy CA6JAU
e97006d7c9
Fix stderr messages in daemon mode
2018-07-24 00:29:05 -04:00
Jonathan Naylor
03682b000a
Clean up the I2C code.
2018-07-19 18:42:23 +01:00
Hootie81
40db88d5f8
modified: Conf.cpp
...
modified: Conf.h
modified: MMDVMHost.cpp
modified: Modem.cpp
modified: Modem.h
modified: SerialController.cpp
modified: SerialController.h
2018-07-19 13:09:00 +00:00
Jonathan Naylor
d49c679b46
Merge branch 'master' into pocsag
2018-07-04 19:01:24 +01:00
Jonathan Naylor
bb9db2ce93
Clean up the merged code.
2018-07-04 19:00:51 +01:00
Shawn Chain
1ab0610543
patch stdlib header
2018-07-03 10:04:44 +08:00
Shawn Chain
0ee26a5a98
patch to keep root permision for openwrt
2018-07-03 10:01:19 +08:00
Jonathan Naylor
93917ef9b4
Add a timer to refresh the DAPNET Gateways status every 30 seconds.
2018-06-28 07:08:04 +01:00
Jonathan Naylor
5cf86578fc
Merge branch 'master' into pocsag
2018-06-18 18:18:36 +01:00
Jonathan Naylor
34ceb912c9
Move log initialisation.
2018-06-18 18:18:09 +01:00
Jonathan Naylor
413a44e088
Add the POCSAG frequency to the modem protocol (for hotspots).
2018-06-12 19:40:49 +01:00
Jonathan Naylor
2a0364a6d4
nitial commit of POCSAG files.
2018-06-07 18:46:03 +01:00
Jonathan Naylor
31beeee604
Add the YSF TX hang parameter.
2018-05-21 21:32:33 +01:00
KD4Z
e790ea3f71
OLED Display - missing ref
...
forgot to include the hook to pass the slot enables down into the driver
2018-04-09 12:53:57 -04:00
Jonathan Naylor
48300c0aa8
Merge branch 'master' into icom
2018-03-22 07:14:09 +00:00
Jonathan Naylor
52ec2f205c
Add modem transparent modem data mode. Not used on the MMDVM currently.
2018-03-22 07:13:13 +00:00
Jonathan Naylor
98a31e8d20
Allow more control over NXDN networking.
2018-03-12 20:55:53 +00:00
Jonathan Naylor
12cfaec1f6
Align the networking with NXCore.
2018-03-01 20:28:43 +00:00
Jonathan Naylor
d17ca9b4ba
Begin handling Icom format network frames. Work in progress.
2018-02-15 20:20:07 +00:00
Jonathan Naylor
635a774c83
Merge branch 'master' into nxdn
2018-02-08 20:50:18 +00:00
Jonathan Naylor
e6ed2e17a1
Roll back the jitter buffer changes.
2018-02-08 20:25:03 +00:00
Andy CA6JAU
c83b01df45
Enabling NXDN network receiving
2018-02-07 21:19:51 -03:00
Jonathan Naylor
3858cf4aec
Merge branch 'master' into nxdn
2018-02-01 06:59:46 +00:00
Jonathan Naylor
43fdb770a9
Make the jitter buffer switchable.
2018-02-01 06:59:11 +00:00
Jonathan Naylor
5291a6427c
Add more NXDN support files.
2018-01-17 21:21:25 +00:00
Jonathan Naylor
8fa4779ca9
Merge branch 'master' into nxdn
2018-01-16 20:14:57 +00:00
Jonathan Naylor
e0a5ae7fb3
Add the NXDN LICH processing.
2018-01-16 20:10:35 +00:00
Jonathan Naylor
323179d525
Add more DMR beacon parameters.
2018-01-16 18:35:29 +00:00
Jonathan Naylor
10b0d3c14c
Merge branch 'master' into nxdn
2018-01-15 21:12:56 +00:00
Jonathan Naylor
712cfc89c6
Add basic NXDN networking.
2018-01-15 21:03:34 +00:00
Jonathan Naylor
d3395278c6
Add locally timed DMR roaming beacons.
2018-01-15 19:22:01 +00:00
Jonathan Naylor
b2586654a2
Initial commit of NXDN scaffolding.
2018-01-11 19:35:33 +00:00
Jonathan Naylor
526e2c436d
Add the jitter buffer for DMR.
2018-01-10 19:05:59 +00:00
Jonathan Naylor
d83c17dccc
Merge pull request #364 from on7lds/dev
...
New Nextion Display Layouts
2018-01-08 18:27:40 +00:00
Andy CA6JAU
1805a98f72
RF power level control for MMDVM_HS compatible devices
2017-12-30 12:05:11 -03: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
71bd38f9e9
Revert "Revert "Simplify the logic by removing the ring buffer.""
...
This reverts commit d4d26fc05f
.
2017-11-28 10:19:13 +00:00
Jonathan Naylor
220cd0a0f9
Revert "Full integration of the jitter buffer into DMR."
...
This reverts commit e1800c0fe0
.
2017-11-28 10:09:29 +00:00
Jonathan Naylor
e1800c0fe0
Full integration of the jitter buffer into DMR.
2017-11-23 13:18:37 +00:00
Jonathan Naylor
ce891019d3
Basic jitter buffer for DMR, unfinished work.
2017-11-23 11:54:45 +00:00
Jonathan Naylor
711bcbf745
Reformat code and make small alterations.
2017-11-15 10:47:56 +00: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
phl0
ecb4ea1a38
Rename config file values (acc. to #ee93e4ce)
2017-11-09 23:17:25 +01:00
Jonathan Naylor
85e90610d7
Add remote gateway modes to D-Star and P25.
2017-11-09 09:21:22 +00:00
Jonathan Naylor
066e5f0270
Add the optional RX DC Offset parameter.
2017-10-28 12:37:32 +01:00
Jonathan Naylor
31828da9d2
Allow for per mode RF and Network mode hang times.
2017-09-01 09:25:54 +01:00
Jonathan Naylor
9a7828566d
Add an optional transmi DC offset value.
2017-08-20 12:07:57 +01:00
Jonathan Naylor
fda4049928
Move the Id into the General section.
2017-08-19 16:23:37 +01:00
Jonathan Naylor
23ce9c7b46
Merge branch 'YSFRefactor'
2017-08-19 12:12:05 +01:00
Jonathan Naylor
cf0c70087d
Add SelfOnly to P25 based on the DMR Id.
2017-08-15 10:30:05 +01:00
Jonathan Naylor
8b2544ba85
Add SelfOnly to YSF.
2017-08-15 10:11:05 +01:00
Jonathan Naylor
3749b8d9f4
Add configurable scrolling to the OLED display.
2017-08-13 10:57:02 +01:00
Jonathan Naylor
8d9cfb0f46
Add YSF DSQ support.
2017-08-13 10:30:02 +01:00
Jonathan Naylor
194b543b32
Merge pull request #313 from phl0/makeAckTimeAdjustable
...
Make AckTime adjustable
2017-06-16 08:27:18 +01:00
g0wfv
5e91c1159f
Add Tx and Rx frequency offsets
...
Enables specification of independant Tx and Rx offsets in Hz for Tx and Rx frequencies on DVMega and MMDVM_HS hardware.
Tx and Rx frequencies no longer have to be offset for frequency errors in ADF7021 devices and dashboards (BM/DMR+) will now display intended frequencies.
2017-06-14 16:46:00 +01:00
phl0
f0fc7c7ec9
Make AckTime adjustable
2017-06-14 12:54:44 +02:00
Jonathan Naylor
043ffe96d9
Make the D-Star ack optional.
2017-06-10 13:18:18 +01:00
g0wfv
bd3d3d68ab
Correct grammar in a couple of error messages!
...
You wouldn't believe English is my first language sometimes!
2017-06-08 11:44:01 +01:00
g0wfv
d51ba994c9
Add SIGINT handling and alter termination signal logging
2017-06-08 10:19:28 +01:00
Jonathan Naylor
c1521ee445
Allow the MMDVM levels to be specified as floating point values.
2017-06-02 16:34:55 +01:00
phl0
ef05fcb62b
Re-add log notification about root privileges
2017-05-04 10:37:45 +02:00
phl0
aeff127015
Restore accidentially? deleted line (See Issue #298 )
2017-05-03 23:39:11 +02:00
Jonathan Naylor
e9e8745aa7
Cleaning up indenting.
2017-05-03 14:53:48 +01:00
Jonathan Naylor
9ac4919a4c
Move modem tracing to Trace and add a new modem Debug function.
2017-04-14 14:05:30 +01:00
Jonathan Naylor
0fe100b01c
Fix some indentation.
2017-04-11 19:26:44 +01:00
Jonathan Naylor
99d57bf102
Allow for optional seperate (and longer) CW Ids.
2017-04-10 17:55:53 +01:00
Jonathan Naylor
dd2db36409
Remove unused sample dumping code.
2017-04-10 17:54:12 +01:00
Jonathan Naylor
c0571edb0b
Modify the P25 UID check slightly.
2017-03-29 20:46:27 +01:00
Ryan Butler
aae96a1caf
This adds the ability to override the UID checking in P25 code to force 7 digit IDs.
...
Jonathan added this code due to a lack of CRC on P25 checking but some parties desire the ability to have any id.
It's understood that on networked connections, the need to use a 7 digit unique ID like the DMR ID is necessary.
This change is affected by adding a new parameter to the [P25 Network] section called OverrideUIDCheck and it defaults to 0.
The logic is, if the network is enabled, or if the network is disabled and the override is disabled, the check is made, otherwise it is not.
This has been field tested for all 4 configuration cases and found to work as described above.
2017-03-29 10:18:54 -05:00
Jonathan Naylor
1a6f282782
Add YSF low deviation mode.
2017-03-23 20:26:17 +00:00
George Smart
9d71de3ae0
Changed to output git ID on --version
...
Changed from --git to --version option for showing the GitID.
2017-03-13 19:17:16 +00:00
George Smart
e26fdd6030
Added -g and --git options to MMDVMHost binary
...
Added -g and --git options to MMDVMHost binary, which then enable this to be called by the Dashboard, etc. Since the -v --version flag is parsed already, amending that flag could cause version mismatch issues.
2017-03-13 17:12:15 +00:00
Jonathan Naylor
d7b8170364
Change of DMR timeout behaviour.
2017-03-12 19:06:47 +00:00
Jonathan Naylor
6844085db3
Updated the copyright dates.
2017-03-10 08:41:56 +00:00
George Smart
1cb9db0e4d
corrected case
2017-03-10 04:22:33 +00:00
George Smart
d3377e776c
Added Git Version number (*NIX only)
2017-03-09 20:55:41 +00:00
Jonathan Naylor
d51b7261cf
Remove the OscOffset parameter.
2017-03-07 20:38:06 +00:00
Jonathan Naylor
edd6708930
Don't send a CW Id at the end of a lockout.
2017-03-07 13:39:41 +00:00
Jonathan Naylor
1dbaec9331
Increase TA and GPS to message level, and allow it to be controlled from
...
the ini file.
2017-02-27 20:17:55 +00:00
Jonathan Naylor
fc477d9abf
Add full frame file dumping.
2017-02-20 21:36:35 +00:00
Jonathan Naylor
ac22f0b783
Add an optional error reply for D-Star.
2017-02-16 19:49:58 +00:00
phl0
8ffdb9bd20
Optional non Embedded LC data suppression
2017-01-16 13:10:23 +01:00
Jonathan Naylor
af721f89e2
Add RSSI display for all modes.
2017-01-05 19:15:10 +00:00
Jonathan Naylor
aac48cb58f
Use a linear interpolator for the reported RSSI values.
2016-12-21 19:58:46 +00:00
Jonathan Naylor
59080e1bd7
Complete the restructuring of the DMR access control.
2016-12-21 19:06:29 +00:00
Jonathan Naylor
a28508b8b1
Initial removal of TG rewrite code.
2016-12-21 18:06:43 +00:00
Jonathan Naylor
beb9a7d545
Handle failed displays more gracefully.
2016-11-22 07:52:47 +00:00
phl0
8373dc0b8a
Add CD LED functionality to MMDVMHost
2016-11-17 11:48:42 +01:00
Jonathan Naylor
bc5478974f
Don't drop priveliges for OLED displays.
2016-11-13 14:45:12 +00:00
Jonathan Naylor
eacc588636
Validate the wake up CSBK correctly.
2016-11-10 18:43:54 +00:00
Jonathan Naylor
b69336dca1
Clean up the OLED configuration.
2016-11-03 21:43:29 +00:00
Jonathan Naylor
34538d8b3f
Add the optional DMR network options command.
2016-11-03 19:27:52 +00:00
Jonathan Naylor
015896a299
Add the host support for the UMP.
2016-11-03 19:07:44 +00:00
Tony Corbett G0WFV
44e8f6717a
LCDproc: Make dimming the status screen optional
...
If you run another LCDproc client that doesn't dim the display when it displays its info, the display will effectively flash on and off (or dim/bright depending on your LCDd configuration) as it switches screens between MMDVMHost and the other client(s).
Making the dimming optional and turning it off in the host stops this "annoyance".
2016-10-29 22:07:54 +03:00
Tony Corbett G0WFV
627e4f1dc3
Initial LCDproc support
2016-10-28 13:22:20 +01:00
Jonathan Naylor
36ce3f18f4
Alter CW Id timing behaviour.
2016-10-17 18:01:38 +01:00
Jonathan Naylor
40c086bad8
Load the DMR Id lookup table periodically.
2016-10-10 19:15:30 +01:00
Jonathan Naylor
878b4d6d73
Add controls for the CW Id level.
2016-10-10 17:46:37 +01:00
Jonathan Naylor
178e104d44
Allow the modem to host a serial display.
2016-10-06 18:38:16 +01:00
Jonathan Naylor
fd7931310e
Remove unneeded RSSI code for non DMR protocols.
2016-09-27 19:55:36 +01:00
Jonathan Naylor
25cfff3ada
Merge branch 'master' into P25
2016-09-27 19:47:07 +01:00
Jonathan Naylor
9408367a0f
Allow for remote System Fusion gateway operation.
2016-09-26 18:07:06 +01:00
Simon
e87eae94a1
Next release of TG Rewrite
2016-09-21 19:35:13 +01:00
Simon
65bdc54997
Adding ini options for TGRewrite code
2016-09-21 16:33:35 +01:00
phl0
a88413014e
Merge remote-tracking branch 'upstream/master' into CW2display
2016-09-16 23:43:57 +02:00
Simon
b6f4842b7f
Completed TG Rewrite, added config options.
2016-09-15 20:41:14 +01:00
phl0
28775026d4
Add timer to return from CW Ident
2016-09-15 15:17:51 +02:00