Commit Graph

1485 Commits

Author SHA1 Message Date
heurist1
8a4564f6f5 Slow down redraw
Combine improvements and slow down refresh.
2021-11-01 20:37:27 +00:00
eried
da380261b2 Version bump 2021-11-01 11:49:42 +01:00
eried
790ebdff31 Updating the contributors list 2021-11-01 11:48:14 +01:00
heurist1
b499380448 Keep items with loc above those without
Removed fixsbt and added a new state of signal without position. Positions stay higher than non positions.
2021-10-29 16:59:52 +01:00
heurist1
318720f364 Removed all traces of the parameters on the POGSAG config message
Left in the message for the moment, because there are likely to be parameters needed at some point.
2021-10-22 18:11:50 +01:00
heurist1
6ef24ce71c Removed unused GUI items 2021-10-22 15:41:48 +01:00
heurist1
62f063aef5 Removed unused items from the UI
Removed unused items from the UI
2021-10-21 17:14:08 +01:00
heurist1
110b40ea49 Changed content of table
Changed the columns of the table to be more useful
2021-10-17 10:03:28 +01:00
heurist1
2b045ffca6 Mark where to change 2021-10-15 18:40:02 +01:00
heurist1
be01ca6da1 Significantly improved adsb demod
Change preamble detection, reduce cpu load
2021-10-15 14:26:33 +01:00
heurist1
0fed64636a Store old changes to ADSB
Diff in previous changes to ADSB
2021-10-11 10:14:16 +01:00
heurist1
ab364ca497 POCSAG before reformat
This is the POCSAG code before reformat to put smooth and extract packets in the correct place
2021-10-10 09:15:42 +01:00
heurist1
a49c35088d Added back
Added the ability to use the Up and Left buttons simultaneously to cause the cursor to move to the top left of the screen
2021-10-09 22:46:05 +01:00
Erwin Ried
848dba44d8
Merge pull request #395 from Brumi-2021/New-Feature-Add-Gain_TX-control-to-the-Replay-App
Add Gain_TX control to the Replay App
2021-10-06 01:15:32 +02:00
Brumi-2021
b335886f42 Update main.cpp
Remove initial short wrong Ant-DC_BIAS pulse. (250 msegs aprox)
2021-09-25 16:37:30 +02:00
Erwin Ried
f12eb55f6b
Merge pull request #412 from ArjanOnwezen/fix-backlight-time-out
Fixed #398: Changed datatype to be able to store > 255 second for backlight timer
2021-09-06 06:29:28 +02:00
Arjan Onwezen
6871126100 changed datatype to be able to store > 255 second for backlight timer 2021-09-03 16:46:41 +02:00
Brumi-2021
03eae70555 Add Gain_TX control to the Replay App
Current Replay App , shows in the user menu a UI to select two kind of controls for the RF output level :
1-) LNA GAIN (0..40 ) dB => but it has no TX effect because it is the RX-LNA . GAIN
2-) RF AMP (0 / +14dBm , (that was correct , we have two IC's , RX / TX ) (sw is controlling weill .

Note, although SW Version 1.40 do not leave to control drictly the GAIN TX
, that Replay App , in fact, it was using the inheritated selected GAIN TX from any previous usage of MIC App.

That Pull request alllows now to have the following controls
1-) GAIN TX (0..47 ) dB (now it is OK
2-) RF AMP (0 / +14dBm , (that was correct , we have two IC's , RX / TX ) (sw is controlling weill .

Remakrs : After the change , now we can control the GAIN TX , but not "in the fly" . When we are in the Replay loop , any change of the FREQUENCY or GAIN TX will be ignored , till we play STOP / START the loop again. (but the AMP RF (0 /+14 dBs) it works in the loop withouth any problems (same as before ) .
2021-07-15 18:15:44 +02:00
teixeluis
fe806b7bdc Fixed the mixing of aircraft coordinates in the details view, by
checking if the ICAO address of the frame and the current item
in the details view match. Slight refactor by placing the decimal
to string conversion function into the string_format module.

Added fix in the scope of issue #365

FrequencyStepView field in TransmitterView class

FrequencyStepView field in TransmitterView class

Update ui_transmitter.hpp

Update credits

Fixed left padding of the decimal part of the numbers.
2021-06-24 15:16:19 +01:00
teixeluis
97349b06ef Fixes to the log and screen rendering of the geo coordinates. 2021-06-23 19:54:34 +01:00
teixeluis
2ceb49e4f2 Added more precise function to calculate NL (based on cmath lib).
Created constants for some of the values scattered in the code.
2021-06-19 23:41:06 +01:00
Erwin Ried
8afd83a4e1
Merge pull request #381 from teixeluis/feature-radiosondes-beep-371
Radiosonde beep pitch RSSI improvements. Keeping current frequency in battery backed RAM
2021-06-17 21:48:14 +02:00
teixeluis
8aff0bb4d8 Improved tone generator for proper frequency control. Also
features a square wave mode.
Added proportional beep duration based on the RSSI as well.
Now reading the current radiosonde frequency from the
battery backed RAM instead starting with the same frequency
all the time.
2021-06-16 23:23:47 +01:00
Arjan Onwezen
c8a8a69832 fix save frequency gui glitch 2021-06-14 21:58:15 +02:00
teixeluis
a80d91fb1e More improvements to the rssi tone. Added saving of the tuned frequency
to the radio model persistent store.
2021-06-13 23:35:33 +01:00
teixeluis
c2dc7d1cf5 Slight improvement of the tone generator. 2021-06-11 00:13:56 +01:00
teixeluis
edcd780402 Improved the pitch RSSI. Still looking for better approach. 2021-06-10 12:10:24 +01:00
teixeluis
c85e6a4d52 Now getting rssi events.Pitch changes still to be improved. 2021-06-09 09:10:01 +01:00
teixeluis
f8f5963bcf Merge remote-tracking branch 'portapack-mayhem/next' into feature-radiosondes-beep-371 2021-06-08 23:11:01 +01:00
teixeluis
9040e780bc Added beep on radiosonde packet decoding, and volume widget to control its level. 2021-06-08 23:07:37 +01:00
Erwin Ried
f1ba8c3dee
Merge pull request #361 from ArjanOnwezen/iso-date-time
ISO datetime for Clock, FileManager, Frequency manager, added clock UI options
2021-06-07 23:48:19 +02:00
Arjan Onwezen
226c0c2d80 fix for freq manager save file 2021-06-06 01:31:30 +02:00
Arjan Onwezen
6bc2cbeda9 ISO datetime for Clock, FileManager, Frequency manager
Added option to show/hide clock (with/without date)
2021-05-17 23:16:15 +02:00
Erwin Ried
a090f1fb0d
Merge pull request #354 from ArjanOnwezen/ui_aprs_rx_cpp_warning_fix
ui_aprs_rx.cpp compiler warning fix
2021-05-12 02:20:55 +02:00
Arjan Onwezen
a3ef7d069e ui_adsb_rx.hpp compiler warning fix 2021-05-11 21:47:55 +02:00
Arjan Onwezen
1a8319b86e /havoc/firmware/application/apps/ui_aprs_rx.cpp:51:7: warning: unused variable 'entry_age' [-Wunused-variable]
/havoc/firmware/application/apps/ui_aprs_rx.cpp:345:12: warning: unused variable 'age' [-Wunused-variable]
2021-05-10 16:28:46 +02:00
Erwin Ried
2ab4ed591d
Update ui_about_simple.cpp 2021-05-03 04:00:39 +02:00
eried
85e4a43cbd Version bump 2021-04-22 09:34:52 +02:00
Erwin Ried
5f778c1734
Update ui_about_simple.cpp 2021-04-19 10:04:50 +02:00
Erwin Ried
c19bcc17af
Merge pull request #341 from fossum/feature/adding-snap-values-to-calls
Added a couple snap values to the calls app.
2021-04-19 10:04:07 +02:00
Eric Fossum
d60299af95 Added a couple snap values to the calls app. 2021-04-17 22:20:28 +00:00
eried
57ed3ebb43 Merge branch 'pr/325' into next 2021-04-14 09:30:53 +02:00
Erwin Ried
e21fbbf234
Merge pull request #329 from aldude999/next
AM/SSB/DSB Microphone Functionality
2021-04-14 09:26:09 +02:00
Erwin Ried
136209dc8d
Update ui_about_simple.cpp 2021-04-14 09:25:38 +02:00
Erwin Ried
838451f491
Merge pull request #339 from eried/recognition-of-audio-chip
Recognition of audio chip
2021-04-14 09:24:46 +02:00
Erwin Ried
4c50401df2
Update ui_about_simple.cpp 2021-04-12 13:29:01 +02:00
zhang00963
a0eaa70ff4 Realize the automatic recognition of audio chip, including ak4951en/wm8731/wm8731s,Try to fix the max2837 temperature problem 2021-04-11 02:19:31 +08:00
Erwin Ried
41864f06e7
Delete ui_mictx.cpp.1 2021-03-22 10:10:01 +01:00
Erwin Ried
133bfbf07b
Delete ui_mictx.hpp.1 2021-03-22 10:09:41 +01:00
DESKTOP-R56EVJP\Alex
f65852ff05 Rebased code from new eried repo commits. Changed to to reflect strijar implementation. Fixed previous issue with old ssb-am-tx ui_mictx code. 2021-03-21 20:21:50 -05:00
Erwin Ried
603b7fb1ab
Merge pull request #286 from GullCode/ui_looking_glass_warning_fix
Fixed redefined define, possibly overflowing variable, missing constructors
2021-03-16 14:46:23 +01:00
East2West
f15cf78101
Add APRS Receiving App 2021-03-11 22:27:19 -06:00
Erwin Ried
7049373d67
Merge pull request #288 from GullCode/ui_navigation_warning_fix
Added missing brace
2021-02-16 09:10:08 +01:00
Erwin Ried
3c30c127e2
Update ui_navigation.cpp 2021-02-16 09:09:49 +01:00
ImDroided
62c1e4e028 Added Pocsag bitrate
I added 3200 to the bitrates in pocsag per a user request on Facebook.
2021-02-14 12:52:56 -06:00
GullCode
cd8732c24f Direct casting to int instead of new var 2021-02-05 23:08:54 +01:00
Erwin Ried
4f90c5efee
Updating contributors list 2021-02-03 22:23:12 +01:00
Erwin Ried
e0e57e5af2
Merge pull request #290 from GullCode/ui_tv_warning_fix
removed unused var
2021-02-03 22:20:34 +01:00
Erwin Ried
68e75cc98e
Merge pull request #293 from GullCode/ui_scanner_warning_fix
Fixed uninitialized / missing switch cases, unused
2021-02-03 22:07:13 +01:00
GullCode
1a48fb8c5a removed a var, added a void, removed a unused initializer 2021-01-28 10:08:57 +01:00
Erwin Ried
282416169d
Merge pull request #289 from GullCode/ertkey_warning_fix
Added missing default constructor
2021-01-28 00:18:31 +01:00
Erwin Ried
8e8e156477
Merge pull request #291 from GullCode/ui_fileman_warning_fix
Added a voided v
2021-01-28 00:16:40 +01:00
Erwin Ried
b1135aab0a
Merge pull request #292 from GullCode/ui_morse_warning_fix
added a voided var
2021-01-28 00:16:27 +01:00
Erwin Ried
36f9e0cb7c
Merge pull request #294 from GullCode/ui_settings_warning_fix
Added missing initializer
2021-01-28 00:16:07 +01:00
Erwin Ried
9bd74f32d0
Merge pull request #295 from GullCode/ui_sonde_warning_fix
Added missing initializer
2021-01-28 00:15:39 +01:00
GullCode
fb61ad55c0 added a voided var 2021-01-27 17:20:07 +01:00
GullCode
ca7b5e110c Added missing initializer 2021-01-27 17:10:37 +01:00
GullCode
a6a41ca5a5 Added missing initialize 2021-01-27 17:08:09 +01:00
GullCode
02d69e54eb Fixed uninitialized / missing switch cases, unused 2021-01-27 17:03:20 +01:00
GullCode
b75ef345a5 added a voided var 2021-01-27 16:57:42 +01:00
GullCode
8c84719598 Added two voided vars 2021-01-27 16:54:17 +01:00
GullCode
8bfeba0d89 Added a voided v 2021-01-27 16:50:48 +01:00
GullCode
c3c680fc04 removed unused var 2021-01-27 16:46:58 +01:00
GullCode
f0457c106d Added missing default constructor 2021-01-27 16:43:13 +01:00
GullCode
5d73175a17 Added missing brace 2021-01-27 16:39:50 +01:00
GullCode
42113434f0 Fixed redefined define, possibly overflowing variable, missing constructors 2021-01-27 16:30:09 +01:00
eried
000b2d3e7d Version bump 2021-01-20 10:02:52 +01:00
Erwin Ried
d5e6d9d662
Merge pull request #257 from strijar/waterfall-bar
Waterfall filter bar
2021-01-12 21:57:19 +01:00
Erwin Ried
64bdd3e018
Merge pull request #263 from euquiq/JAMMER-TX_COOLDOWN_TIMERS_IN_SECONDS
JAMMER NOW INCLUDES TWO TIMERS
2021-01-12 21:57:04 +01:00
euquiq
928bce083a Cosmetics + Jammer now in green + Jitter
I think the Jammer deserves a green icon, since it actually does it job pretty well.

Then there is a Jitter parameter. It allows to introduce a jitter from 1/60th of a second up to 60/60th of a second (a full one). It will delay / move forward either the TX or the cooldown period for a maximum of a half of the time you choose as jitter.

Meaning: If I choose 60/60th, a full second of jitter, it will produce a random number from 1 to 60.

Then it will calculate jitter = 30 - randomnumber

THen it will "add" that (positive or negative) time to the  time counter for the next jitter change of state.
2021-01-08 11:54:21 -03:00
euquiq
8859c3d80c JAMMER NOW INCLUDES TWO TIMERS
Each driving the TX and COOLDOWN timers.
2021-01-07 17:51:38 -03:00
Белоусов Олег
63f6a885d8 Implemented correct display of the filter indicator on the waterfall 2020-12-23 18:00:51 +03:00
Erwin Ried
2fa6df596a New icon and shortcut 2020-11-01 17:26:29 +01:00
Erwin Ried
aeefecf5c6 Version bump 2020-10-31 22:00:19 +01:00
Erwin Ried
06d4916144
Merge pull request #187 from rascafr/rascafr/scanner-app-load-frequency-files
Scanner app - Load custom frequency files
2020-10-27 22:03:26 +01:00
Erwin Ried
911f0c8881
Merge pull request #213 from euquiq/Fix-APRS-TX-app
Fix aprs tx app
2020-10-27 21:57:50 +01:00
Erwin Ried
01cfd360fe
Merge pull request #215 from euquiq/looking_glass_full_bw_cascade_scanner
New "looking Glass" app
2020-10-27 21:57:11 +01:00
euquiq
13ce56f7bf Added "RESOLUTION" parameter
Discord User jteich did some investigation (Thanks!) and helped me understanding this rather obscure parameter:

Internally, is called "TRIGGER", and is passed into the baseband when configuring the desired spectrum sample rate.

Please forgive me in advance if this explanation is not 100% correct. It's only my interpretation, based on my own observation and jteich's comments over Discord chat.

This trigger parameter apparently determines the amount of data over time used for calculating the signal's power inside each specttrum's bin, before considering it "done".

In short, if you lower this resolution value then the cascade will tend to be rendered a bit faster, while kind of blind to tiny signals.

On the other hand, a bigger value will help rendering and distinguishing different signals on the cascade.

Too big a value can easily clutter up the cascade. But then it may be a "blessing" when inspecting higher freuqencies -where hackrf is more deaf"

The default value of 32 is quite decent. But then, now you can experiment with it. Cheers
2020-10-26 23:43:35 -03:00
euquiq
210ec9dd1b Looking Glass with PRESETS
Added a PRESETS.TXT file (inside /LOOKINGGLASS folder).

Also optimized the way the spectrum signal is integrated into the cascade.

Added provision for ranges lower than 240MHz but I am afraid that at this time it will not be advisable to lower ranges any more than 240MHz, since some artifacts and frequency running - moving out of place- occurs.

I can only hope that someone with a better understanding of hackrf's inner code can fix this issue and perhaps enhance the scanning speed.

I found some "original commenting" inside the code:

	// TODO: Move more low-level radio control stuff to M4. It'll enable tighter
	// synchronization for things like wideband (sweeping) spectrum analysis, and
	// protocols that need quick RX/TX turn-around.

Which makes me think that there are things "missing"  from the portapack side of the code, for allowing serious speed sweeping. So I am concluding that with current "portapack framework" this might be "the best possible thing".

It is to be noted that the "new" internal sweep mode code is signed by:

 * Copyright 2016 Mike Walters, Dominic Spill
 *
 * This file is part of HackRF.

Maybe Mike or Dominic can be contacted and hopefully lend a hand on enhancing this code.
2020-10-26 12:53:10 -03:00
dqs105
7ca322fed4 Added options for tuning CLKOUT freq.
- Now we have variable CLKOUT.
- CLKOUT can be set between 10kHz and 60MHz.
(The output signal will become mostly sine shape when reaching 50MHz.)
- Click on freq setting field to change tuning step.
2020-10-24 00:24:05 +08:00
euquiq
3e1d726064 Enhancement and bug
Added a nicer MARKER (thanks to XSX(H1) contributor for the suggestion)

Fixed a bug that made the screen scroll from top, when using a popup "window" and returning (like, when pressing the DC VOLTAGE enable / disable" button on top bar) THanks to GregoryFenton for the testing and bug spotting!
2020-10-23 12:19:57 -03:00
euquiq
01ba7a57ea New "looking Glass" app
Capable of showing a cascade with full bandwidth scan. You can select Min and Max Mhz for the cascade.

You can move a marker so to (aproximately) know  a particular frequency on the cascade. If you press the select button, the app will jump into the RX -> AUDIO app, already tuned into the just "marked" frequency.

This first version SURELY has space for lots of optimizations and improvement in general.
2020-10-21 13:21:34 -03:00
dqs105
48ccc1e988 Merge branch 'clkout_enable' of https://github.com/dqs105/portapack-mayhem into upstream 2020-10-14 20:15:36 +08:00
euquiq
95f7eda9c5 APRS TX app is working fine now!
Several old bugs squashed.

On the APRS side, most notably, SSID numbers where shifted left twice, instead of once, and bits 5,6 where not properly set.

On AX.25 side, the bit stuffing part of the encoder was not placing the zero bit on the right place.

Finally, I changed APRS icon from ORANGE to GREEN, since even this may be a simple app, now it's doing its work as intended.
2020-10-10 20:24:11 -03:00
euquiq
b22448de75 Fixes SSID value error on APX TX
Values where left bit-shifted upon being entered by the user, so resulting SSID being transmitted was a different number.  This shifting was happening both on Source and Destination SSID values.
2020-09-28 17:54:27 -03:00
Erwin Ried
98ba332cda Version bump 2020-09-25 03:34:51 +02:00
Erwin Ried
883a62238d Version bump 2020-09-24 22:04:59 +02:00
Белоусов Олег
cafc4fdec4 Bug fix 2020-09-24 11:04:00 +03:00
Белоусов Олег
25ba2f1391 Morse TX loops 2020-09-22 16:12:46 +03:00
Белоусов Олег
a5a3ba184a Morse TX speed in WPS 2020-09-22 11:46:44 +03:00
dqs105
1029322405
Fix "Stop After" Freeze. 2020-09-19 14:22:28 +08:00
dqs105
b15b781039 Added options for enabling CLKOUT.
- CLKOUT can be enabled in Radio settings and status bar.
- Fixed a typo(I believe) in ui_navigation.
2020-09-16 19:27:56 +08:00
Erwin Ried
55783a60f5 Update ui_navigation.cpp 2020-09-15 23:13:31 +02:00
Erwin Ried
e76ec66023 Adding contributors 2020-09-15 23:13:01 +02:00
Erwin Ried
bf068abba3 Microphone app button rename 2020-09-15 23:12:50 +02:00
Erwin Ried
8949662eee Version bump 2020-09-15 22:10:17 +02:00
Erwin Ried
3d9ce8a037 Merge branch 'pr/166' into Radiosonde-vaisala-add-temp-humidity-merge-conflicts-fix 2020-09-14 23:11:08 +02:00
Erwin Ried
95be75a8af
Merge pull request #172 from dqs105/new_splash
New custom splash.
2020-09-14 22:53:59 +02:00
Erwin Ried
7fd9adf3f2
Merge pull request #171 from euquiq/mic-tx-rx-into-main-menu
Menu changes
2020-09-14 22:51:49 +02:00
Erwin Ried
3aaa4a0ba1
Merge pull request #161 from dqs105/mic_tx_rfgain
Added TX Gain control & code simplification
2020-09-14 22:50:35 +02:00
Erwin Ried
875db13917
Merge pull request #170 from dqs105/siggen_amp
Remove hard-coded rf_amp on.
2020-09-14 22:46:53 +02:00
Erwin Ried
1a94f4a1ab
Merge pull request #174 from ITAxReal/ax_fork
SoundBoard App Improvements
2020-09-14 22:46:00 +02:00
Erwin Ried
4390647e28
Merge pull request #184 from rascafr/rascafr/freq-manager-hide-tmp-dot-files
Hide temporary & OS system files from category files list
2020-09-11 22:18:20 +02:00
Rascafr
f95467d71b loaded_file_name goes back to default 'scanner' file if load step fails 2020-09-11 22:17:40 +02:00
Rascafr
200c57f990 Save new frequencies into the default / user loaded freqman txt file 2020-09-11 22:15:35 +02:00
Rascafr
d2c66f4515 Removed confirmation modal after load is successful 2020-09-11 22:07:12 +02:00
Rascafr
dbdb0bd379 Added ui_scanner load button for any .txt frequency file 2020-09-11 21:11:42 +02:00
Rascafr
fcdbedca98 Bad emplace_back code position fix 2020-09-11 20:46:41 +02:00
Rascafr
ccb3937e37 Hide .dot tmp / system files from list in frequency manager module 2020-09-11 20:34:15 +02:00
Erwin Ried
c4052064a9
Merge pull request #182 from rascafr/file-manager-hide-tmp-dot-files
Hide temporary & OS system in Frequency Manager
2020-09-11 15:02:16 +02:00
Rascafr
dd5e63abd3 Hide empty & .dot tmp / system files in freq manager 2020-09-11 12:25:10 +02:00
dqs105
5cbbf62c5f Removed drawRAW.
- BMP files can be loaded directly now, so it can be removed.
2020-08-29 10:53:26 +08:00
ITAxReal
8a4e6492d9 More Improvements on SoundBoard
Optimizing and fixing
2020-08-28 23:59:33 +03:00
ITAxReal
668afccc28 > But it's a sound board not a music player....  Maybe make it say sounds instead of songs? Paging was a great idea however.
Okay, okay.
2020-08-28 22:22:39 +03:00
ITAxReal
e466c14c88 Improved SoundBoard app:
* No device freeze when you try to close app while it's transmitting
* Bypassed 100 .wav files limit by implementing paging functionality
* Removed useless progressbar and implemented page info line instead
2020-08-28 21:47:56 +03:00
dqs105
80f074b82f Added BMP file support.
- Now can load splash.bmp!
2020-08-28 12:23:52 +08:00
dqs105
ac12bf5f50 modify file extension from data to bin. 2020-08-27 23:16:05 +08:00
dqs105
8edaa1e51e Added new custom splash.
- Custom splash now can be loaded from SD card.
2020-08-27 23:07:48 +08:00
euquiq
a2b28c097c Menu changes
Moved the MIC TX RX into the main menu.

Changed scanner color from yellow to green, since it is kind of rounded up into an acceptable functionality.

Also, did a bit of cleanup on the code spacing inside the menues.
2020-08-26 10:48:09 -03:00
dqs105
7fae33eb49
Remove hard-coded rf_amp on.
Removed hard-coded turning rf_amp on when enabling transmitting.
It will be handled by TransmitterView.
2020-08-26 15:39:17 +08:00
euquiq
13abb620f6 Radiosonde-vaisala-add-temp-humidity
Also added the fields "DateTime" which just shows the raw timestamp that portapack assigned the last packet received, in the format: YYYYMMDDHHMMSS ... And "Frame" which shows the packet # (or frame) for correlating with other software / verify that there are new packets being received.

Also moved a string function for returning rounded-up decimals, originally inside the whipcalc tool app, into the string_format functions library, because I used that function on TEMP and HUMIDITY values inisde the radiosonde app.

Finally, the whole UI has its widgets moved a bit, giving space for these new parameters.
2020-08-24 17:31:27 -03:00
dqs105
8833b2fce5
Restored radio.cpp 2020-08-24 11:21:30 +08:00
dqs105
7d6fb56c7e Minor bug fix
- Key press & touch isolation
2020-08-24 11:09:10 +08:00
dqs105
911eb36210 Merged TxButton and Button & minor bug fix 2020-08-24 11:02:42 +08:00
dqs105
d7568b820d UI tweak & new PTT button 2020-08-24 01:53:34 +08:00
dqs105
0f88efc44e Tx led fix & UI tweak & Rx frequency 2020-08-23 17:41:31 +08:00
dqs105
4197b5c083
Added RX gain control & UI modification
Thanks @euquiq for a more common solution to the bug.

Added RX gain control.
Now we have full gain controls!

Merged PTT and Voice activation into one option selector.(allowing RIGHT BUTTON to work with PTT off)
2020-08-22 14:57:55 +08:00
Erwin Ried
888225fb55
Merge pull request #162 from euquiq/fix-freq-format-function
Revert into use of spaces for padding freq
2020-08-21 20:48:43 +02:00
euquiq
b41074fbe3 Revert into use of spaces for padding freq
This patch addresses the issue detected in: https://github.com/eried/portapack-mayhem/issues/159

This patch will revert the behavior of the function to_string_short_freq

into using spaces on the left of the integer part of the frequency (as it did originally).

When upgrading the scanner app, I did change the behavior of this function eliminating those spaces, so I could gain some characters-worth of space inside the scanner,  but I failed to detect that it introduced some lack of padding on the rx->audio app.

Now, it is back as before, and I also did update the scanner so it can cope with the "extra spaces" this function now adds (again).
2020-08-21 15:05:37 -03:00
dqs105
2f54c11fea
Added TX Gain control & code simplification
A bug that enabling audio RX resets the TX gain (perhaps because that changing to receiving mode modifies some registers)  inspired me to add this gain control.
Commented out some steps which don't require for the VU meter to work again.
Moved some widgets for gain control.
2020-08-21 23:18:53 +08:00
Erwin Ried
f1a2155e87
Merge pull request #157 from eried/gcc9.3-assert-redefinition
Gcc9.3 assert redefinition
2020-08-20 21:45:11 +02:00
Erwin Ried
af8382eeb0
Merge pull request #145 from strijar/audio-cw
Audio FIR filter for CW
2020-08-20 20:57:01 +02:00
euquiq
e76a464f7e Radiosonde-CRC-checkbox
Added CRC calculation for Vaisala radiosondes.

Added a Checkbox on APP for turning ON / OFF CRC. When CRC on, malformed packets are ignored.

Connected existing CRC function for METEOMAN sondes, using the same "CRC" checkbox logic.
2020-08-20 15:22:11 -03:00
eried
1c9ccbc247 Rename m4txevent::assert and m0apptxevent::assert (adding "_event")
Copied from f6cdf6a722#
2020-08-19 09:43:04 +02:00
Белоусов Олег
3559e37a76 Audio FIR filter for CW 2020-08-17 16:07:06 +03:00
Erwin Ried
b7ae9d575b Merge branch 'v1.2' of https://github.com/eried/portapack-mayhem into v1.2 2020-08-15 16:01:33 +02:00
Erwin Ried
303d9c8a9d Version bump 2020-08-15 16:01:15 +02:00
Erwin Ried
d79f3ce028
Merge pull request #137 from eried/debug-temperature
Debug temperature
2020-08-15 15:58:36 +02:00
Erwin Ried
c56d84d037
Merge pull request #136 from eried/new-scanner-ui
New scanner ui
2020-08-15 15:56:21 +02:00
Erwin Ried
646b7b564e
Merge pull request #110 from strijar/audio-spectrum
Audio spectrum
2020-08-15 15:54:08 +02:00
Erwin Ried
cc2046b607
Merge pull request #119 from euquiq/MIC_TX_RX_with_volume_and_squelch
MIC TX Now includes RX with Volume and Squelch
2020-08-15 15:53:48 +02:00
Erwin Ried
1fc9a1c6e8
Merge pull request #120 from eried/WAV-viewer-bug-when-wav-file-format-is-wrong
Update ui_view_wav.cpp
2020-08-15 15:53:27 +02:00
Erwin Ried
5a3da3bd6a
Merge branch 'v1.2' into add-heading-to-geomap 2020-08-15 15:52:53 +02:00
Erwin Ried
40785e8094
Merge pull request #135 from euquiq/radiosonde-vaisala-rs41-decoding
Radiosonde-app-Vaisala-rs41-decoding
2020-08-15 15:51:10 +02:00
Erwin Ried
f519168602 Merge branch 'new-footer' into v1.2 2020-08-15 15:48:49 +02:00
Erwin Ried
ccef06c088 Margin for footer elements 2020-08-15 15:47:23 +02:00
Erwin Ried
004fddf4de Skip splash when pressing titlebar, if enabled 2020-08-15 03:20:55 +02:00
euquiq
7b19c0a35f Update ui_navigation.cpp
Now the Sonde App icon is in green: All sondes in the original proposal are working!
2020-08-14 20:11:24 -03:00
Joel Wetzell
27a549dac7 allow printing tag even without a valid heading 2020-08-14 15:46:45 -05:00
euquiq
c7b0fbc359 Radiosonde-app-Vaisala-rs41-decoding
Added the Vaisala RS41 data packet decoding.

Changed the default freq from 402.0 to 402.7 Mhz, since it is more popular freq.

Lowered the frequency stepping, so it is easier to fine-tune the exact freq center, if needed.

Sonde's Serial ID is passed into the VIEW MAP, so now the sonde is labelled on the map.
2020-08-14 15:51:12 -03:00
Joel Wetzell
f6437adc60 Reorganixe ADSBDetailsView 2020-08-11 11:26:54 -05:00
Joel Wetzell
13ba70f6c5 Fix negative altitude on DetailsView 2020-08-11 11:26:36 -05:00
Joel Wetzell
bbae5047d1 Fix ADSB heading math and add heading to ADSB log 2020-08-10 22:55:20 -05:00
Erwin Ried
c7082455c1 Super simple about 2020-08-08 23:06:53 +02:00
Erwin Ried
fcbb26051b ACARS is not implemented 2020-08-08 15:09:12 +02:00
Erwin Ried
4ce44b84f3
Merge pull request #122 from klockee/new-main-menu-footer
New main menu footer
2020-08-08 11:43:45 +02:00
klockee
90d2dbb49c More cleanup 2020-08-08 04:48:29 -04:00
klockee
b300cc258e Cleaned up and tweaked 2020-08-08 04:24:57 -04:00
Erwin Ried
b49ad91d24 Update ui_view_wav.cpp 2020-08-07 22:20:54 +02:00
euquiq
6d131ccfd4 sorry, little detail
That include is not needed
2020-08-07 16:35:06 -03:00
euquiq
d50ea3cc50 fixed a bug, and some fine-tuning
Earlier code did not start with squelch totally open, but a tiny bit closed.  (now at app loading, squelch is truly set up with the same value it shows on screen).

I also hardcoded the NFM sampling rate and baseband bandwidth. It seemed "the right thing to do".
2020-08-07 16:33:17 -03:00
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
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
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
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
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
993396a048 Dark cyan for generic submenus 2020-06-07 06:26:19 +02:00
eried
81d5ac4923 Update ui_scanner.hpp 2020-06-07 04:33:47 +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
1ce4c402e0 Merge branch 'master' of https://github.com/eried/portapack-mayhem 2020-05-27 21:40:55 +02:00