Commit Graph

252 Commits

Author SHA1 Message Date
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
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
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
f0457c106d Added missing default constructor 2021-01-27 16:43:13 +01:00
GullCode
42113434f0 Fixed redefined define, possibly overflowing variable, missing constructors 2021-01-27 16:30:09 +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
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
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
Белоусов Олег
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
e76ec66023 Adding contributors 2020-09-15 23:13:01 +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
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
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
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
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
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
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
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
Белоусов Олег
3559e37a76 Audio FIR filter for CW 2020-08-17 16:07:06 +03: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
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