mayhem-firmware/firmware/common
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
..
acars_packet.cpp Testing external clock detection and auto-switch 2018-06-12 07:55:12 +01:00
acars_packet.hpp Started work on ACARS RX 2018-06-10 10:15:43 +01:00
adc.hpp C++14: make some wrapper classes static. 2017-01-05 17:10:00 -08:00
adsb_frame.cpp ADS-B TX works well enough for dump1090 and gr-air-modes 2017-07-23 12:20:32 +01:00
adsb_frame.hpp ADSB position decoding 2017-08-17 12:56:47 +01:00
adsb.cpp Fix Issue 88, Wrong Longitude in ADSB RX (#242) 2019-05-21 16:44:14 +01:00
adsb.hpp Fix Issue 88, Wrong Longitude in ADSB RX (#242) 2019-05-21 16:44:14 +01:00
ais_baseband.cpp SYNC 2016-01-31 09:34:24 +01:00
ais_baseband.hpp AIS: Doesn't use RRC filter -- use rect instead. 2016-08-29 20:47:37 -07:00
ais_packet.cpp CRC internal type more suitable for ARM. 2016-02-18 21:31:51 -08:00
ais_packet.hpp SYNC 2016-01-31 09:34:24 +01:00
ak4951.cpp Audio: Add codec config methods for external I2S master. 2017-08-06 12:43:39 -07:00
ak4951.hpp Audio: Add codec config methods for external I2S master. 2017-08-06 12:43:39 -07:00
backlight.cpp Backlight: Add abstraction for support of different hardware. 2017-07-18 21:29:32 -07:00
backlight.hpp Backlight: Add abstraction for support of different hardware. 2017-07-18 21:29:32 -07:00
baseband_cpld.cpp Move CPLD filres to common/ 2017-06-02 17:13:41 -07:00
baseband_cpld.hpp Move CPLD filres to common/ 2017-06-02 17:13:41 -07:00
baseband_packet.hpp Started adding decoders for RS41 radiosondes 2017-11-10 02:20:44 +00:00
baseband_sgpio.cpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
baseband_sgpio.hpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
baseband.hpp SYNC 2016-01-31 09:34:24 +01:00
bch_code.cpp Coaster pager address scan 2017-04-11 08:42:31 +01:00
bch_code.hpp Yet another POCSAG bugfix (multi-batch messages are not cut anymore) 2017-02-06 20:32:33 +00:00
bit_pattern.hpp SYNC 2016-01-31 09:34:24 +01:00
bmp.hpp Tones bugfix, numbers station voice files search 2017-03-22 03:21:06 +00:00
buffer_exchange.cpp Replay of IQ files ! :D 2017-12-07 00:58:25 +00:00
buffer_exchange.hpp Replay of IQ files ! :D 2017-12-07 00:58:25 +00:00
buffer.cpp Create buffer.cpp, reduce #include dependencies and impl leakage. 2016-10-24 11:16:48 -07:00
buffer.hpp Create buffer.cpp, reduce #include dependencies and impl leakage. 2016-10-24 11:16:48 -07:00
chibios_cpp.cpp C++14: Add two-argument delete() implementations. 2017-01-05 17:13:03 -08:00
chibios_cpp.hpp C++14: Add two-argument delete() implementations. 2017-01-05 17:13:03 -08:00
complex.hpp SYNC 2016-01-31 09:34:24 +01:00
cpld_max5.cpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
cpld_max5.hpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
cpld_update.cpp Upstream merge to make new revision of PortaPack work (#206) 2019-01-11 06:56:21 +00:00
cpld_update.hpp CPLD: Organize CPLD code into namespaces. 2017-06-02 21:57:13 -07:00
cpld_xilinx.cpp CPLD: Add XC2C64A method to init from EEPROM contents. 2016-07-18 11:31:21 -07:00
cpld_xilinx.hpp CPLD: Add XC2C64A method to init from EEPROM contents. 2016-07-18 11:31:21 -07:00
crc.hpp CRC: Rearrange public methods to reduce user error. 2016-07-05 11:57:57 -07:00
debug.cpp Upstream merge to make new revision of PortaPack work (#206) 2019-01-11 06:56:21 +00:00
debug.hpp Move halt indication code to common place. 2015-07-08 16:28:57 -07:00
dsp_fft.cpp Initial firmware commit. 2015-07-08 08:39:24 -07:00
dsp_fft.hpp Added an audio FFT view in Wideband FM receive 2018-05-21 18:46:48 +01:00
dsp_fir_taps.cpp SYNC 2016-01-31 09:34:24 +01:00
dsp_fir_taps.hpp Added CTCSS decoder in NFM RX 2017-11-28 08:52:04 +01:00
dsp_iir_config.hpp Added CTCSS decoder in NFM RX 2017-11-28 08:52:04 +01:00
dsp_iir.cpp Move IIR struct and configs to common/. 2016-01-29 15:43:39 -08:00
dsp_iir.hpp Move IIR struct and configs to common/. 2016-01-29 15:43:39 -08:00
dsp_types.hpp SYNC 2016-01-31 09:34:24 +01:00
emu_cc1101.hpp Added remaining buttons for TouchTunes remote 2017-09-24 20:05:42 +01:00
ert_packet.cpp Rename format_manchester/ManchesterFormatted to "[sS]ymbols". 2016-05-30 11:24:59 -07:00
ert_packet.hpp Rename format_manchester/ManchesterFormatted to "[sS]ymbols". 2016-05-30 11:24:59 -07:00
event.cpp SYNC 2016-01-31 09:34:24 +01:00
event.hpp SYNC 2016-01-31 09:34:24 +01:00
field_reader.hpp SYNC 2016-01-31 09:34:24 +01:00
fifo.hpp POCSAG RX saves ignored address 2017-04-21 06:22:31 +01:00
gcc.cpp Initial firmware commit. 2015-07-08 08:39:24 -07:00
gcc.hpp Initial firmware commit. 2015-07-08 08:39:24 -07:00
gpdma.cpp SYNC 2016-01-31 09:34:24 +01:00
gpdma.hpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
gpio.hpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
hackrf_cpld_data.hpp CPLD: Stop generating HackRF CPLD .hpp file. 2017-06-02 21:55:35 -07:00
hackrf_gpio.hpp Rename CPLD "Q_INVERT" to signal to "INVERT". 2016-08-21 11:35:40 -07:00
hackrf_hal.cpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
hackrf_hal.hpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
i2c_pp.cpp Initial firmware commit. 2015-07-08 08:39:24 -07:00
i2c_pp.hpp Upstream merge to make new revision of PortaPack work (#206) 2019-01-11 06:56:21 +00:00
i2s.hpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
jammer.cpp Finished jammer modes 2017-02-13 05:35:13 +00:00
jammer.hpp Added tabs to BHT TX and Jammer 2017-08-12 00:27:05 +01:00
jtag_tap.cpp JTAG: Add TAP state management. 2016-07-17 15:44:30 -07:00
jtag_tap.hpp JTAG: Add TAP state management. 2016-07-17 15:44:30 -07:00
jtag_target_gpio.hpp JTAG: Move Target interface to separate header. 2016-07-11 09:39:02 -07:00
jtag_target.hpp JTAG: Move Target interface to separate header. 2016-07-11 09:39:02 -07:00
jtag.cpp Initial firmware commit. 2015-07-08 08:39:24 -07:00
jtag.hpp JTAG: Remove unused methods. 2016-07-13 11:02:13 -07:00
lcd_ili9341.cpp Added an audio FFT view in Wideband FM receive 2018-05-21 18:46:48 +01:00
lcd_ili9341.hpp Added an audio FFT view in Wideband FM receive 2018-05-21 18:46:48 +01:00
led.hpp Initial firmware commit. 2015-07-08 08:39:24 -07:00
lfsr_random.cpp Add LFSR random number generator. 2016-04-10 16:30:28 -07:00
lfsr_random.hpp Add LFSR random number generator. 2016-04-10 16:30:28 -07:00
lpc43xx_cpp.hpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
manchester.cpp Radiosonde RX now understands Meteomodem's M10 correctly 2017-10-27 18:54:50 +02:00
manchester.hpp Radiosonde RX now understands Meteomodem's M10 correctly 2017-10-27 18:54:50 +02:00
memory_map.hpp C++14: const all the methods! 2017-01-05 17:06:44 -08:00
message_queue.cpp Merge 2016-05-09 21:05:11 +02:00
message_queue.hpp Add lots of value constructors. 2016-11-26 16:50:44 -08:00
message.hpp Pocsag improvements (#20) 2020-05-09 13:13:21 +02:00
modules.h Added frequency manager skeleton, LCR alt encoding, GPS jammer 2016-07-25 16:21:27 +02:00
morse.cpp Finally found what was eating all the RAM :D 2018-05-15 23:35:30 +01:00
morse.hpp Finally found what was eating all the RAM :D 2018-05-15 23:35:30 +01:00
msgpack.cpp More messagepack 2016-05-16 12:02:45 +02:00
msgpack.hpp More messagepack 2016-05-16 12:02:45 +02:00
optional.hpp SYNC 2016-01-31 09:34:24 +01:00
pins.hpp PortaPack Sync, take 2 (#215) 2019-02-03 18:25:11 +00:00
png_writer.cpp FatFs: Enable long file name support. 2016-08-21 18:06:39 -07:00
png_writer.hpp Add lots of value constructors. 2016-11-26 16:50:44 -08:00
pocsag_packet.cpp Added basic POCSAG receiver 2016-08-23 08:45:33 +02:00
pocsag_packet.hpp Added function setting in POCSAG TX 2017-09-23 04:53:42 +01:00
pocsag.cpp Added function setting in POCSAG TX 2017-09-23 04:53:42 +01:00
pocsag.hpp Added function setting in POCSAG TX 2017-09-23 04:53:42 +01:00
portapack_adc.hpp Initial firmware commit. 2015-07-08 08:39:24 -07:00
portapack_cpld_data.hpp CPLD: Organize CPLD code into namespaces. 2017-06-02 21:57:13 -07:00
portapack_dma.hpp Initial firmware commit. 2015-07-08 08:39:24 -07:00
portapack_hal.hpp CPLD: Switch sense of LCD_RD/WR pins. 2017-07-20 16:33:55 -07:00
portapack_io.cpp Upstream merge to make new revision of PortaPack work (#206) 2019-01-11 06:56:21 +00:00
portapack_io.hpp Upstream merge to make new revision of PortaPack work (#206) 2019-01-11 06:56:21 +00:00
portapack_persistent_memory.cpp Persistent setting for speaker icon 2020-06-08 01:21:11 +02:00
portapack_persistent_memory.hpp Persistent setting for speaker icon 2020-06-08 01:21:11 +02:00
portapack_shared_memory.cpp Rework to make use of declared memory map regions. 2015-08-20 17:11:08 -07:00
portapack_shared_memory.hpp Added LGE app, nothing to see here 2019-02-06 17:34:53 +00:00
simd.hpp Remove broken simd32_t type. 2017-05-03 09:58:07 +01:00
sine_table_int8.hpp Fixed LCR transmit and AFSK baseband module 2016-07-27 21:26:03 +02:00
sine_table.hpp Dynamic baseband module loading from SD card 2015-11-20 07:59:09 +01:00
sonde_packet.cpp Added range file and range type to frequency manager (mainly for jammer) 2017-12-08 18:58:46 +00:00
sonde_packet.hpp Started adding decoders for RS41 radiosondes 2017-11-10 02:20:44 +00:00
spi_image.hpp Merge branch 'master' into gps-sim 2020-04-20 10:51:20 +02:00
sstv.hpp Finally found what was eating all the RAM :D 2018-05-15 23:35:30 +01:00
test_packet.cpp Fixed freeze in TouchTunes scan 2017-11-08 21:08:46 +01:00
test_packet.hpp Added "test app" as a draft zone for... stuff 2017-10-30 02:00:39 +01:00
thread_base.hpp Move thread_base.hpp from baseband/ to common/. 2016-07-26 10:22:10 -07:00
thread_wait.cpp Simplify RSSI/BB DMA, extract to ThreadWait class. 2016-02-09 10:41:19 -08:00
thread_wait.hpp Simplify RSSI/BB DMA, extract to ThreadWait class. 2016-02-09 10:41:19 -08:00
tonesets.hpp Finally found what was eating all the RAM :D 2018-05-15 23:35:30 +01:00
tpms_packet.cpp Update tpms_packet.cpp (#309) 2020-02-27 05:54:27 +01:00
tpms_packet.hpp Rename format_manchester/ManchesterFormatted to "[sS]ymbols". 2016-05-30 11:24:59 -07:00
ui_focus.cpp Made back button always focusable with left key 2017-04-21 00:31:21 +01:00
ui_focus.hpp Initial firmware commit. 2015-07-08 08:39:24 -07:00
ui_painter.cpp Added an audio FFT view in Wideband FM receive 2018-05-21 18:46:48 +01:00
ui_painter.hpp Added an audio FFT view in Wideband FM receive 2018-05-21 18:46:48 +01:00
ui_text.cpp Hide ui::Size implementation. 2016-11-28 10:55:45 -08:00
ui_text.hpp Hide ui::Size implementation. 2016-11-28 10:55:45 -08:00
ui_widget.cpp New Antenna length Calculator 2020-06-27 23:59:11 -03:00
ui_widget.hpp UI Redesign for Portapack-Havoc (#268) 2019-10-29 22:53:54 +01:00
ui.cpp ADSB RX text color bugfix 2017-08-27 21:03:17 +01:00
ui.hpp Fixed mic tx not working the first time it was entered 2018-02-01 11:17:51 +00:00
units.hpp SYNC 2016-01-31 09:34:24 +01:00
utility_m4.hpp SYNC 2016-01-31 09:34:24 +01:00
utility.cpp Remove constexpr use of std::log2, std::log10. 2016-02-19 10:30:26 -08:00
utility.hpp Merge 'upstream/master' - At least it builds... 2017-01-16 03:45:44 +00:00
volume.hpp SYNC 2016-01-31 09:34:24 +01:00
wm8731.cpp Added tabs to BHT TX and Jammer 2017-08-12 00:27:05 +01:00
wm8731.hpp Mute and unmute audio 2020-06-08 01:22:58 +02:00