Commit Graph

1690 Commits

Author SHA1 Message Date
euquiq
1b2c68b3c0 New squelch behavior and fixes
Squelch value now goes from -90 to +20 and it's directly compared against the max_db parameter returned from each freq scanned by the radio subsystem, with no adjusts or manipulation (you adjust the number as will be used).

Less squelch means weaker signals will trigger it. (as expected).

There was a tiny cosmetic bug when you deleted a frequency from the scanning memory: The description was not erased from screen and you could see it while the scan did not resume.

There was another bug on the pause button: If you asked for another manual scan range when paused, the button kept the text "RESUME"  (its text was not reset to "PAUSE" again).
2020-08-01 00:58:34 -03:00
euquiq
ee67f74fa7 Added two new buttons and other enhancements
Added buttons for:

Change scanning direction (ascending / descending)

Saving current freq into the SCANNER.TXT file

(Please notice that, on the other hand -for safety issues- the DEL FQ button, deletes the frequency only from the temp memory on the actual scanning session, but does NOT erases the freq. inside the SCANNER.TXT)

Also there are other bug fixes and scanning speed enhancements.
2020-07-28 21:05:10 -03:00
euquiq
03084251c5 Added MIC TX and FREQ DEL buttons
MIC TX button :Shortcut for jumping into TX -> MIC app.

FREQ DEL button: Deletes currently displayed frequency from temporary scanning memory. Ideal to get rid of those not wanted "noisy" freqs in the middle of a range scan.

Also, some code optimizations thrown in.
2020-07-28 01:21:52 -03:00
euquiq
e8f6e1389e better "squelch" and coloring big numbers
When scanner finds a freq with high dbi, it locks into it "listening" a bit more (less than a second) for either confirm or discard it as an actual high dbi or just a spurious thing.

The big number frequency changes color accordingly: Grey = just scanning, yellow = locking in, Green = Found something, allowing the user to listen.
2020-07-25 14:07:03 -03:00
euquiq
f50b376cbd Update ui_scanner.hpp
Sorry, I missed this before: These two includes are NOT necessary anymore.
2020-07-20 17:43:30 -03:00
euquiq
27f566be8f scanner-enhanced-version
New ui_scanner, inspired on AlainD's (alain00091) PR: https://github.com/eried/portapack-mayhem/pull/80

It includes the following:

1) A big frequency numbers display.

2) A Manual scan section (you can input a frequency range (START / END), choose a STEP value from an available of standard frequency intervals, and press SCAN button.

3) An AM / WFM / NFM scan mode selector, changing "on the fly".

4) A PAUSE / RESUME button, which will make the scanner to stop upon you listening something of interest

5) AUDIO APP button, a quick shortcut into the analog audio visualizing / recording app, with the mode, frequency, amp, LNA, VGA settings already in tune with the scanner.

6) Two enums are added to freqman.hpp, reserved for compatibility with AlainD's proposed freqman's app and / or further enhancement. More on this topic:

ORIGINAL scanner just used one frequency step, when creating scanning frequency ranges, which was unacceptable.  AlainD enhanced freqman in order to pass different steppings along with ranges.  This seems an excellent idea, and I preserved that aspect on my current implementation of thisscanner, while adding those enums into the freqman just to keep the door open for AlainD's freqman in the future.

7) I did eliminate the extra blank spaces added by function to_string_short_freq() which created unnecessary spacing in every app where there is need for a SHORT string, from a frequency number. (SHORT!, no extra spaces!!)

8) I also maintained AlainD idea of capping the number of frequencies which are dynamically created for each range and stored inside a memory based db. While AlainD capped the number into 400 frequencies, I was able to up that value a bit more, into 500.

Cheers!
2020-07-20 16:43:24 -03:00
Joel Wetzell
0b12f68a95 Match mic_gain types 2020-07-13 23:45:47 -05:00
Joel Wetzell
2969a0fec9 use screen_rect for center coordinate 2020-07-01 15:39:35 -05:00
Joel Wetzell
abb4385859 Adjust polar to point and bearing drawing 2020-07-01 13:16:48 -05:00
euquiq
9a50684c00 Fixed bug in datetime
As shown in https://github.com/eried/portapack-mayhem/issues/88 ...

Tiny bug but probably responsible for badly forming datetime in several apps, as it is used in ACARS, POCSAG and ADSB_TX (and of course AIS RX)
2020-06-30 17:33:38 -03:00
eried
e6c5b3ede5 Version bump 2020-06-28 21:43:22 +02:00
eried
5677b0faf1 Some titles were too long 2020-06-28 21:42:19 +02:00
eried
9096532eee Merge branch 'new-antenna-length-calculator' 2020-06-28 21:35:36 +02:00
eried
728426c5e7 Just minor changes 2020-06-28 21:35:14 +02:00
eried
ddffc69937 Clear with buffer clear 2020-06-28 20:06:00 +02:00
eried
d175e33990 Show infinite+ if freq is 0 and small tweaks 2020-06-28 20:05:31 +02:00
eried
dfa524eac0 Slighty larger steps 2020-06-28 17:42:11 +02:00
eried
a81ab66994 Show all antennas even if they are off range 2020-06-28 17:41:32 +02:00
eried
3190eec36a Title was too long 2020-06-28 15:41:55 +02:00
eried
65ab23fd3c Comma as separator 2020-06-28 14:19:09 +02:00
euquiq
8443008dfa New Antenna length Calculator
It reads the antennas definition from a txt file:

WHIPCALC/ANTENNAS.TXT

Inside the textfile you place each antenna you own with the following sintaxis:

<antenna label> <elements length in mm, separated by a space>

For example:

ANT500 185 315 450 586 724 862

Input the required frequency, adjust the wave type (full / half / quarter, etc.) and the calculator will return the antenna length (metric and imperial) while also calculating how much you need to expand the fitting antennas you got defined on the txt.

It may return up to 8 matching antennas, which is more than enough (normally you will have 2, perhaps 3 telescopic antennas around for your portapack)

If by any chance your antennas txt got more than 8 antennas, and more than 8 matches the length of the freq / wave you want, it will only show the first 8 matching antennas and will warn you at the bottom that there are even more results (hidden).

All calculations now are rounded into the best integer, considering first decimal, so precision is double than the original antenna calculator app.
2020-06-27 23:59:11 -03:00
euquiq
77b56810e8 GPS SIMULATOR EXIT ON PLAY FIX
Now, if you exit the GPS SIMULATOR while transmitting, it will properly stop the radio and won't crash, exiting as expected.
2020-06-16 02:18:29 -03:00
euquiq
46c076c296 Antenna length Calculator fix
Calculation now rounds up decimals so result is more accurate.
2020-06-13 21:21:32 -03:00
eried
7d5d9054e1 Version bump 2020-06-09 23:44:16 +02:00
eried
62652fdd8a Debug sd card verbose by @gregoryfenton 2020-06-09 23:43:45 +02:00
eried
934f4b07c4 Speaker option for the H1 2020-06-08 01:23:44 +02:00
eried
bf3f9cfe75 Setting for hiding the speaker 2020-06-08 01:23:23 +02:00
eried
3c304b9fe3 Mute and unmute audio 2020-06-08 01:22:58 +02:00
eried
2d765f8120 Persistent setting for speaker icon 2020-06-08 01:21:11 +02:00
eried
e4c9287af3 Icon for muted speaker 2020-06-08 01:15:52 +02:00
Gregory Fenton
07e9b50abe
Remove clunky text when changing to HackRF mode 2020-06-07 20:22:04 +01:00
eried
a5721c5444 Update ui_scanner.cpp 2020-06-07 19:16:54 +02:00
Erwin Ried
0afc88ea7b
Merge pull request #60 from eried/scanner-update
Scanner features (#55) - Added freq description to scanner display.
2020-06-07 16:18:13 +02:00
Jonathan Elder
cc75ed5eee
Scanner features (#55) - Added freq description to scanner display. 2020-06-07 12:03:45 +02:00
eried
43870e97bc Icons and colors changes 2020-06-07 06:27:59 +02:00
eried
0e75cfea12 New icons 2020-06-07 06:27:23 +02:00
eried
993396a048 Dark cyan for generic submenus 2020-06-07 06:26:19 +02:00
eried
cb0a4da7e1 Merge branch 'scanner-update' 2020-06-07 04:34:21 +02:00
eried
81d5ac4923 Update ui_scanner.hpp 2020-06-07 04:33:47 +02:00
eried
ef0336ac4f Adding missing tools icons 2020-06-07 01:58:31 +02:00
eried
e3533594de Update icon_soundboard.png 2020-06-07 01:58:19 +02:00
eried
db9d80dc0c New Icon files for Options 2020-06-07 01:40:31 +02:00
Jonathan Elder
7fa92868d7 Scanner update
Renamed scanner squelch to trigger
Added squelch for audio output
2020-06-06 11:45:19 -07:00
eried
38b6f334b2 Update ui_debug.cpp 2020-06-06 01:07:59 +02:00
eried
92d9b677f7 Update ui_debug.cpp 2020-06-05 23:58:12 +02:00
eried
8a6e04fc0b Icon for the peripherals 2020-06-05 23:58:04 +02:00
euquiq
74f76348b3 DEBUG -> PERIPHERALS is now a buttons based menu 2020-06-04 17:28:44 -03:00
Erwin Ried
a1a417d94b Icons for debug app 2020-06-03 21:37:08 +02:00
Gregory Fenton
eb3b7ac585
Weird characters appeared in hpp file, removed 2020-06-03 18:35:56 +01:00
Gregory Fenton
d7f3539cd9
Testing new debug icons 2020-06-03 18:32:12 +01:00