Commit Graph

1761 Commits

Author SHA1 Message Date
euquiq
72f3eea131 MIC TX Now includes RX with Volume and Squelch
You can enable RX and adjust VOLUME  and SQUELCH into your liking.

Sadly enough, you will NOT be able to use VOICE ACTIVATION when RX is enabled (to ensure there will be NO audio feedback defeating the VA sensing)

A "bug" that won over me, but perhaps and hopefully other coder can easily fix:  The Vumeter will momentarily "dissappear" when enabling RX. But it will reappear as soon as you start TX. Or when you turn off RX.

I enabled the PEAK LEVEL MARK on the Vumeter, so you can easily see in which level your input voice / signal is peaking and regulate the MIC gain accordingly in an easier / more robust way.

Side enhancement: Took off the dark green, yellow and red coloring from the vumeter when no signal is present, and replaced it with dark_grey. I know that some coloring is "eye-candy" but the vu-meter is more readable with this new contrast.
2020-08-07 00:19:37 -03:00
klockee
9c9021f63b Added new toolbar in main menu 2020-08-05 01:03:51 -04:00
euquiq
bb264dcf57 fixes file renaming on subdir
The file rename function needs to be called with full_path/old_name  and full_path/new_name.

Instead, it was called with full_path/old_name and new_name ... thus the renamed file ended on the root dir (path not preserved).
2020-08-04 14:24:16 -03:00
klockee
bf2a04ab57 Fix title in splash screen 2020-08-03 05:48:26 -04:00
Erwin Ried
e7de39d130
Merge pull request #94 from euquiq/fix-fileman-freeze-no-or-empty-sd
Fixes File manager freezing on absent or empty SD
2020-08-03 00:35:47 +02:00
Erwin Ried
93f752d86f
Merge pull request #108 from euquiq/increase-width-fine-tune-cursor-on-spectrum-waterfall
Bigger cursor tick on spectrum waterfall
2020-08-02 17:25:52 +02:00
BuildTools
246e628df8 Added interactive titlebar! 2020-08-01 21:55:09 -04:00
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
Белоусов Олег
7ec7a9e07c Cleanup 2020-07-31 13:51:35 +03:00
Белоусов Олег
6f58c7929a Spectrum Width and Speed Settings 2020-07-31 13:47:40 +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
5ee1f7acb9 Update ui_spectrum.cpp
I changed width in pixels of the "fine-tune cursor" from 2 to 5 , and then re-centered the cursor, from 120 to 118 to accomodate the shift in width.

I was inspired by this old ISSUE on Havoc's repository, where at the end @furrtek commented the need to make the red tick bigger in the future (but forgot / was swamped with other ehnancements / issues):

https://github.com/furrtek/portapack-havoc/issues/172
2020-07-27 01:40:20 -03:00
Joel Wetzell
4c256f65dd Re-add bearing position fix 2020-07-25 12:48:47 -05:00
Joel Wetzell
01101ecef2 position string formatting 2020-07-25 12:26:10 -05: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
Joel Wetzell
3ec41bc209 Fix angle updating and remove empty callsign 2020-07-25 10:23:46 -05:00
Joel Wetzell
f32584c553 Add heading and speed to detail view 2020-07-25 10:22:21 -05:00
Joel Wetzell
542879b74b allow negative heading in maths 2020-07-25 10:21:56 -05:00
Joel Wetzell
62df30eae3 add heading information to adsb details view 2020-07-24 18:56:09 -05:00
Joel Wetzell
ea574ef61f Set Sonde heading out of bounds 2020-07-24 16:10:57 -05:00
Joel Wetzell
f08949acd7 Add Heading to ADSB and Map Updating 2020-07-24 16:09:21 -05: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
euquiq
5b449b182f
Addd Newline at the end
tiny detail
2020-07-05 00:39:23 -03:00
euquiq
87cc3c89d5 Fixes File manager freezing on absent or empty SD 2020-07-05 00:33:53 -03: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
euquiq
b0880d6eff Nicer debug -> temperature graph
Lowered the scale -10 ºC so it accomodates less than zero temperatures, present sometimes when cold starting the system.

Added 1 char for temperature label length.

Adjusted the max2837 sensor value -> ºC temp result, by normalizing the conversion to correctly display the standard 25ºC, mentioned in Datasheet.
2020-06-29 18:01:15 -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
Gregory Fenton
853912733e
Add debug menu icons 2020-06-03 18:26:24 +01:00
Gregory Fenton
4dd73d201b
Fix disappearing icons
Icons disappear when they are rolled over using the jog wheel and the colour is set to
ui::color::white()
Fixed by changing the colours of the icons to something other than ui::color::white()
2020-06-03 12:38:05 +01:00
euquiq
2cd2443eb2
UI menu changes (#41)
* UI menu changes

Changed DEBUG menu style from text / scrollbar into buttons.

* Update ui_debug.cpp
2020-06-01 23:52:42 +02:00
Erwin Ried
59b310dff5 Friendlier UI in fileman 2020-06-01 01:59:40 +02:00
Erwin Ried
52b951f705 No space after question mark 2020-06-01 01:59:12 +02:00
Erwin Ried
29457f0e46 New icons 2020-05-31 20:21:54 +02:00
Erwin Ried
b539b17a50 Update ui_fileman.hpp
Icon for C8 files
2020-05-30 16:26:21 +02:00
Erwin Ried
2cdd11d96a More icon standarization 2020-05-30 16:26:06 +02:00
Erwin Ried
477635a100 Version bump 2020-05-30 01:42:08 +02:00
Erwin Ried
6c7dfbfc89 The more arrow looks better with 1 px spacing on some UIs 2020-05-30 01:42:00 +02:00
Erwin Ried
589611c8bd Control alignment on Fileman app 2020-05-30 01:39:08 +02:00
Erwin Ried
9a1d6aabe4 Merge branch 'master' of https://github.com/eried/portapack-mayhem 2020-05-30 01:38:28 +02:00
Jared Boone
f2886715ce
Stop replay before exiting Replay app, to avoid freeze. 2020-05-29 14:52:11 -07:00
Erwin Ried
defdd57ea3 Few more icons refreshed 2020-05-29 03:10:13 +02:00
Erwin Ried
acbb100d64 Fix for https://github.com/eried/portapack-mayhem/issues/35 Capture app hang on exit 2020-05-29 00:55:57 +02:00
Erwin Ried
9b010686b6 Tweaking more icons for consistency in style 2020-05-29 00:04:07 +02:00
Erwin Ried
9aa2d17753 Python3 compatibility 2020-05-29 00:03:47 +02:00
Erwin Ried
1ce4c402e0 Merge branch 'master' of https://github.com/eried/portapack-mayhem 2020-05-27 21:40:55 +02:00
Erwin Ried
decce5cc17 Revert "Adding 2 more steps to the frequency selector (#28)"
This reverts commit ebfcc81894.
2020-05-27 21:40:50 +02:00
Erwin Ried
125aa75553
fix OOK transmit - getting stuck after '12E' type
From 395bc486f1
2020-05-26 11:45:48 +02:00
Erwin Ried
687b1187d1 Version bump 2020-05-24 23:37:27 +02:00
Erwin Ried
a467e74a78 Minor UI changes to Soundboard 2020-05-24 23:34:49 +02:00
Erwin Ried
cfd1fe2b18 Progress bar fix 2020-05-23 22:53:20 +02:00
Erwin Ried
c80ea840d7 Version bump 2020-05-20 14:50:44 +02:00
Erwin Ried
f4ebf4a2d5 Removing more unnused files 2020-05-12 16:17:14 +02:00
Erwin Ried
7058c872f3 Fork rename 2020-05-12 16:12:16 +02:00
Erwin Ried
f1ca56b875 Update CMakeLists.txt 2020-05-12 10:31:55 +02:00
Erwin Ried
b5da065bbd More! 2020-05-11 16:59:48 +02:00
Erwin Ried
15a6bc17b5 More small tweaks to the icons 2020-05-11 16:33:53 +02:00