Joseph Poirier
b91b1ce06c
fixes to handle all dongle scenarios, uat config fix back to print name
2016-02-22 10:34:51 -06:00
Joseph Poirier
6c35cd164f
fixes after review
2016-02-22 07:37:44 -06:00
Joseph Poirier
8579891b05
fix type error
2016-02-21 21:41:30 -06:00
Joseph Poirier
bec0cef610
rework the dongle and settings handling code, fixes #239
2016-02-21 21:28:53 -06:00
Joseph Poirier
862151cea6
regex updates and device fix
2016-02-21 14:02:57 -06:00
Joseph Poirier
0ff1b5c16f
fix rES hasID typo
2016-02-21 11:00:12 -06:00
Joseph Poirier
ff9a5bec02
final UAT and ES struct fixes
2016-02-21 10:57:16 -06:00
Joseph Poirier
483567f186
UAT and ES struct fixes
2016-02-21 10:55:16 -06:00
Joseph Poirier
8fc7b9f81b
fix typo
2016-02-21 10:44:55 -06:00
Joseph Poirier
e9221e5097
cleanup and idiomatic code in prep for #239
2016-02-21 10:40:14 -06:00
Yih-Chun Hu
4fba4de5bd
bugfix of error checking
2016-02-18 13:35:28 +00:00
root
9ff70d6633
Copy and paste error in the log message
2016-02-16 20:31:12 +00:00
root
b356b64f15
Error checking and optimizations per jpoirier
2016-02-16 20:28:14 +00:00
root
9857f36023
Merge branch 'master' of https://github.com/cyoung/stratux
2016-02-16 13:19:47 +00:00
Christopher Young
3a01a4268d
Scale back debug output. Use "log" instead of "fmt" for log printing.
2016-02-15 17:11:19 -05:00
root
e101c10174
refactor, bug fix
2016-02-15 18:24:56 +00:00
root
2414087ede
refactor
2016-02-15 18:21:43 +00:00
root
5d926a6274
Allows for per-SDR ppm information through RTL Serial numbers of
...
format stx:freq:ppm, such as stx:1090:20.
2016-02-13 20:30:33 +00:00
Christopher Young
1be927e672
Remove UAT SDR powersave.
2016-01-26 01:04:40 -05:00
Christopher Young
1f6c58350e
PowerSave switch revert.
2016-01-26 01:03:26 -05:00
Joseph Poirier
e371039cd1
dongle handling: remove misleading conflict msg, stricter string check
2016-01-25 23:33:19 -06:00
Christopher Young
f5bed44086
Powersave switch.
2016-01-22 22:39:09 -05:00
Christopher Young
57a9fbf393
Catch SIGINT and SIGTERM - shutdown SDR functions.
...
Fixes #204 .
2016-01-19 10:40:40 -05:00
Christopher Young
8f8bd363a2
Comments.
2016-01-19 08:39:46 -05:00
Christopher Young
ae6ba61278
Cleanup.
...
Follow PR #195 .
2016-01-10 15:56:57 -05:00
Joseph Poirier
40ce5dcde7
add serial to ES object
2016-01-08 09:35:26 -06:00
Joseph Poirier
4cbe3713a7
only fetch serial id of unconfigured dongle
2016-01-08 09:33:58 -06:00
Christopher Young
ce5f185c0f
Use monotonic clock for SDR/network timing.
...
#174 .
2016-01-07 11:29:55 -05:00
Christopher Young
e23ce3f25d
Update comment.
2015-12-26 17:47:29 -05:00
Christopher Young
268bc227c9
Merge remote-tracking branch 'origin/master' into powersave
...
# Conflicts:
# main/network.go
2015-12-26 17:18:57 -05:00
Christopher Young
8d573788b1
Wait for UAT read goroutine to quit before calling .Close() on device.
2015-12-20 23:38:45 -05:00
Christopher Young
25b8bf0402
Close() UAT device when not receiving messages.
...
Check for 10 seconds once every 60 seconds to see if we’re in range.
2015-11-21 17:54:37 -05:00
Christopher Young
2633f0056a
Pause UAT reading 75% of the time when no UAT messages are being received.
2015-11-17 14:31:21 -05:00
Christopher Young
2c973ece39
Merge branch 'master' of https://www.github.com/cyoung/stratux
2015-11-12 14:26:57 -05:00
Christopher Young
7f50242867
Fixes #102 .
...
START,Thu Nov 12 19:25:38 +0000 UTC 2015,Thu Nov 12 19:25:38 +0000
UTC 2015
UNPAUSE,71289772
2739899291,Found 2 device(s):
2740283977,0: Realtek, RTL2838UHIDIR, SN: stratux:978
2740438248,1: Realtek, RTL2838UHIDIR, SN: 00000001 (currently
selected)
2740605904,Found Rafael Micro R820T tuner
2740683299,Max available gain is: 49.60
2740807935,Setting gain to: 49.60
2740880330,Exact sample rate is: 2000000.052982 Hz
2740943976,Gain reported by device: 49.60
2015-11-12 14:26:43 -05:00
Joseph Poirier
6d46a66933
add freq mode specific writeID mehtods
2015-11-11 12:54:42 -06:00
Joseph Poirier
ca6a77d19a
commnet out device count logging
2015-11-11 11:18:02 -06:00
Christopher Young
3745a805b7
Fixed zombie process issue.
2015-11-10 20:02:37 -05:00
Joseph Poirier
bfd72f877c
s/break/return and comment out noisey log message
2015-11-10 18:14:29 -06:00
Christopher Young
a5072f034d
Ref #103 .
...
Fixes log issue.
2015-11-10 18:52:54 -05:00
Joseph Poirier
f7e9991db4
consistent error handling for GetFreqCorrection
2015-11-09 09:14:08 -06:00
Joseph Poirier
cb2b1acccc
remove small hack for freq correction; gortlsdr has been modified to handle -2 error from librtlsdr when requested ppm is the same as current ppm"
2015-11-09 09:10:55 -06:00
Joseph Poirier
76408d5828
comment out debug prints
2015-11-07 00:24:56 -06:00
Joseph Poirier
f357d224c6
debug print cleanup
2015-11-06 23:48:44 -06:00
Joseph Poirier
07a9349ddf
add missing curley brace
2015-11-06 23:37:15 -06:00
Joseph Poirier
c5cf3898d3
better/fixed error GetFreqCorrection handling
2015-11-06 23:35:39 -06:00
Joseph Poirier
2dab583e8e
handle librtlsdr returned error code inconsistencies where dev->corr == PPM when calling SetFreqCorrection
2015-11-06 23:18:15 -06:00
Joseph Poirier
18da53d028
debug prints for testing
2015-11-06 22:50:40 -06:00
Joseph Poirier
c1932b26cc
log prints for testing
2015-11-06 22:32:05 -06:00
Joseph Poirier
88ec861fb7
put back Devices assignment, change type for atomic store
2015-11-06 21:57:59 -06:00
Joseph Poirier
627353de48
minorcode changes
2015-11-05 21:54:39 -06:00
Joseph Poirier
595f50cc2f
UAT and ES mode/hardware handling
2015-10-25 22:16:19 -05:00
Christopher Young
3e042a82ed
Revert SDR code changes.
2015-10-21 15:25:22 -04:00
Christopher Young
6f5f69b322
Detect 'stratux:978' in serial string to keep static 978 tuner dev.
2015-10-20 10:50:09 -04:00
Christopher Young
0db905904f
Print stats in main log.
...
2015/09/22 13:52:11 stats [uptime 1 minute ago]
2015/09/22 13:52:11 - CPUTemp=49.23 deg C, MemStats.Alloc=101MB,
MemStats.Sys=126MB, totalNetworkMessagesSent=0
2015/09/22 13:52:11 - UAT/min 103,226/103,226 [maxSS=55.30%], ES/min
0/0
2015/09/22 13:52:11 - Total traffic targets tracked=0, last GPS fix: a
long while ago
2015-09-22 09:52:49 -04:00
Christopher Young
1f46ccda01
PPM uint16 -> int.
2015-09-19 14:19:57 -04:00
Christopher Young
5a568e27ce
Type error.
2015-09-16 16:17:41 -04:00
Christopher Young
5f64bd39fd
PPM settings.
2015-09-16 10:09:51 -04:00
Christopher Young
f24e7dedc8
Cleanup.
2015-09-16 00:07:02 -04:00
Christopher Young
5be60354dc
Set PPM on SDR init.
2015-09-13 23:38:22 -04:00
Christopher Young
a603653ac9
godump978 and gortlsdr integration for UAT.
...
globalStatus.Devices implemented. Auto retry, on SDR error, etc.
2015-09-10 20:43:32 -04:00