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
c4c427ddb2
Save some cycles when message queues aren't that large.
2015-11-17 14:21:05 -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
Christopher Young
5ddd7d1b65
Formatting.
2015-11-10 18:44:00 -05:00
Christopher Young
c3d6ebaa2e
Typo.
2015-11-10 17:49:44 -05:00
Christopher Young
9691d47a75
Mutex for uibroadcaster.sockets.
2015-11-10 17:27:06 -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
cb1dbcf92f
Merge branch 'master' into jdp_dev
2015-11-06 18:58:56 -06:00
bradanlane
98795f3da1
fix from unexpected case wehre device stores CPU temp as simple integer (eg 53 vs 53000 for 50.0C
2015-11-06 09:47:25 -05:00
Joseph Poirier
afe13d1587
Merge branch 'master' into jdp_dev
2015-11-05 22:17:22 -06:00
Joseph Poirier
627353de48
minorcode changes
2015-11-05 21:54:39 -06:00
Christopher Young
3289772485
Set "airborne" flag correctly on TIS-B traffic.
...
Shows traffic in different color in FF when on ground.
2015-11-05 22:02:58 -05:00
Joseph Poirier
926fa06886
Merge branch 'master' into jdp_dev
2015-11-05 20:56:53 -06:00
cyoung
d0d466896e
Merge pull request #96 from cyoung/uat_towers_status
...
created new towers details page and towers status on main page
2015-10-30 11:56:54 -04:00
bradanlane
0324cc4b1f
created new towers details page but its commented out of the WebUI; simple active tower count is added to primary status page; created status web servcie for cases wehre a single instance is needed
2015-10-27 10:55:18 -04:00
Joseph Poirier
595f50cc2f
UAT and ES mode/hardware handling
2015-10-25 22:16:19 -05:00
Christopher Young
7bfb0067b4
Fixed outdated comment - ReplayLog can be changed during runtime now.
2015-10-25 20:58:21 -04: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
6de0a8602a
Set time according to NEO-M8N, even if no GPS lock. Index fix.
2015-10-19 13:18:48 -04:00
Christopher Young
fbcfddc006
Isolate CPU temperature monitor to its own goroutine.
...
Addresses #63 .
2015-10-19 08:17:02 -04:00
Christopher Young
941bd3f70c
Missing import.
2015-10-18 22:07:37 -04:00
Christopher Young
5f58d4bb5f
Set write deadline on UI broadcast writes.
2015-10-18 22:06:33 -04:00
Christopher Young
2aa4378157
Fixed potential race condition.
2015-10-18 21:59:23 -04:00
Christopher Young
2498e15696
Fixed potential mutex issue.
2015-10-18 20:27:49 -04:00
Christopher Young
8769ced73e
Error checking on OwnshipModeS.
2015-10-10 16:02:12 -04:00
Christopher Young
0d0e3b8216
Default value - OwnshipModeS as string.
2015-10-09 20:07:28 -04:00
cyoung
a58fc63efb
Merge pull request #73 from cyoung/ownship
...
add OwnshipModeS to UI; tweaked Settings field validation
2015-10-09 12:13:32 -04:00
Christopher Young
fa4718c212
Default ModeS code - not zero.
2015-10-08 07:25:43 -04:00
Christopher Young
a2a7b11494
Redo weather/traffic websocket updates ( #74 ).
2015-10-07 20:24:56 -04:00
Christopher Young
202e36c3a4
Disable port 43211 output by default.
2015-10-07 19:04:06 -04:00
Christopher Young
3f6d9a07a9
Don't print GPS status in log unless enabled.
2015-10-07 19:03:24 -04:00
bradanlane
30abcb82ee
add OwnshipModeS to UI and maintain consistent format for storage; also tweaked 'settings' page field validation
2015-10-06 18:31:20 -04:00
Christopher Young
bdb680eaaa
Replay log on/off while running.
2015-10-04 18:50:21 -04:00
Christopher Young
891af1ff11
Formatting.
2015-10-04 18:33:44 -04:00