Commit Graph

126 Commits

Author SHA1 Message Date
Jakob Ketterl
118335b2b6 lock on dsp to avoid race conditions 2021-04-27 16:58:23 +02:00
Jakob Ketterl
0c7b0d2eaa improve dsp control handling 2021-04-27 01:58:20 +02:00
Jakob Ketterl
d18a4c83ac don't send bookmarks if the parameters are not available 2021-04-09 18:29:08 +02:00
Jakob Ketterl
170b720e48 restructure config 2021-03-31 00:00:38 +02:00
Jakob Ketterl
65443eb0ba improve event handling 2021-03-27 23:40:10 +01:00
Jakob Ketterl
287a04be94 send updated bookmarks to clients on the fly 2021-03-25 15:25:15 +01:00
Jakob Ketterl
4cbce9c840 always remove device props on switch, fixes device failover 2021-03-24 20:47:04 +01:00
Jakob Ketterl
deeaccba12 profile as properties, live sync additions and removals with the client 2021-03-24 15:57:25 +01:00
Jakob Ketterl
c9d303c43e remove "configurable_keys" hack 2021-03-21 15:19:40 +01:00
Jakob Ketterl
acee318dae make the frontend resume when an sdr device becomes present 2021-03-21 00:14:18 +01:00
Jakob Ketterl
8fa1796037 re-start connection sdr if no sdr was available before 2021-03-20 23:30:09 +01:00
Jakob Ketterl
2a82f4e452 wire profile transmission into active sdr device hash 2021-03-20 23:14:29 +01:00
Jakob Ketterl
c50473fea5 implement device shutdown on deletion or lack of profiles 2021-03-18 22:59:46 +01:00
Jakob Ketterl
364c7eb505 show more information on the sdr settings page 2021-03-18 21:53:59 +01:00
Jakob Ketterl
d573561c67 activate enable / disable cycle 2021-03-18 19:59:10 +01:00
Jakob Ketterl
b25a673829 refactor state handling: uncouple failed and enabled flags 2021-03-18 19:34:53 +01:00
Jakob Ketterl
d81f0ae96c change display precision behavior to reference Hertz 2021-03-01 01:19:06 +01:00
Jakob Ketterl
e9cb5d54be send changed keys over websocket connection for the map 2021-02-27 01:00:38 +01:00
Jakob Ketterl
412e0a51c7 implement property deletion handling; activate scheduler deletion 2021-02-26 01:12:03 +01:00
Jakob Ketterl
5cd9d386a6 combine waterfall_[min|max]_level into a single config 2021-02-25 15:13:39 +01:00
Jakob Ketterl
c2e8ac516c introduce enums for state management 2021-02-20 22:54:07 +01:00
Jakob Ketterl
691d88f841 waterfall config fine-adjustments
* hide the waterfall colors input when pre-defined color scheme is
  selected
* skip unparseable lines on custom color input
* fallback to black and white if custom color config is unusable
* always use the waterfall classes when sending changes to the client
2021-02-16 18:35:18 +01:00
Jakob Ketterl
9175629838 send waterfall colors to the client 2021-02-16 17:34:04 +01:00
Jakob Ketterl
a72a11d3c7 fix old unsubscription todo 2021-02-15 17:25:46 +01:00
Jakob Ketterl
e8fca853df unsubscribe on close; self-referencing prevents unsubscription 2021-02-04 18:00:03 +01:00
Jakob Ketterl
ad8ff1c2f7 send "sdr_id" to be able to detect changes 2021-01-30 16:04:13 +01:00
Jakob Ketterl
f0dc2f8ebe format code 2021-01-20 16:46:55 +01:00
Jakob Ketterl
55e1aa5857 use the property stack the way it's intended for better consistency 2021-01-20 16:46:29 +01:00
Jakob Ketterl
73b75edc14 remove duplicate import 2021-01-09 19:10:08 +01:00
Jakob Ketterl
5337c20744 remove duplicate 2021-01-09 19:01:39 +01:00
Jakob Ketterl
90f319ebda split config into global and device config
* less config properties sent to the client
2020-12-31 23:03:36 +01:00
Jakob Ketterl
53553fcce2 fix subscription handling 2020-12-30 21:33:02 +01:00
Jakob Ketterl
b85d801121 create separate subscription for bookmarks 2020-12-30 18:45:13 +01:00
Jakob Ketterl
29703d10b2 server side: send only changed config keys 2020-12-30 17:17:14 +01:00
Jakob Ketterl
db3d662dae fix typo 2020-12-13 16:31:19 +01:00
Jakob Ketterl
e062412e60 show receiver location pin on the map 2020-12-11 17:47:17 +01:00
Jakob Ketterl
23080dbe22 allow frequency display precision to be set via configuration 2020-12-10 20:58:07 +01:00
Jakob Ketterl
504c256b3e make auto squelch level margin configurable 2020-11-12 18:00:24 +01:00
Jakob Ketterl
71a2352d2b let the client initiate the dsp again 2020-09-19 21:35:14 +02:00
Jakob Ketterl
34414de4e5 only re-start dsp if dsp has been started before 2020-09-19 21:17:00 +02:00
Jakob Ketterl
ff34e793a0 handle failure of sdr devices asynchronously 2020-09-19 20:45:23 +02:00
Jakob Ketterl
e10a52b39e handle full queue better by draining 2020-09-15 22:04:53 +02:00
Jakob Ketterl
0030c6d656 thread names to aid debugging 2020-08-14 20:22:25 +02:00
Jakob Ketterl
08ba0c7b02 shut down multiprocessing queue explicitly using a poison pill 2020-08-11 22:14:36 +02:00
Jakob Ketterl
448e266097 implement wfm demodulator chain 2020-08-08 21:29:25 +02:00
Jakob Ketterl
0518ff9358 provide information to the queue which entries are done 2020-08-05 20:04:41 +02:00
Jakob Ketterl
7234ff4309 use normal queue since we're not even multiprocessing 2020-08-05 19:07:55 +02:00
Jakob Ketterl
11fd918d62 handle more errors the right way, refs #144 2020-07-21 20:33:48 +02:00
Jakob Ketterl
d9bc03d1fc clear the multiprocessing queue to get rid of more file descriptors,
refs #146
2020-07-20 23:09:38 +02:00
Jakob Ketterl
c54f19282a improved error handling, refs #146 #22 2020-07-19 19:00:26 +02:00