portapack-mayhem/firmware/baseband
RocketGod 43a1bc0445
Jammer app add modes (#2659)
* Add new jammer modes

Overview

This PR enhances the PortaPack Jammer app by introducing eight new signal types, ported from my Flipper Zero RF Jammer app (https://github.com/RocketGod-git/flipper-zero-rf-jammer). These modes expand the app's capability to disrupt a wide range of RF communication protocols, from analog radios to modern digital systems. The implementation preserves the original app structure, resolves namespace conflicts, and ensures compatibility with the Mayhem firmware.

New Modes

The following modes have been added to the options_type in ui_jammer.hpp, with corresponding signal generation in proc_jammer.cpp:

Noise: Generates broadband white noise to interfere with analog and digital signals (e.g., Wi-Fi, Bluetooth, key fobs). Highly effective for overwhelming receivers across a frequency range.

Sine: Produces a continuous, unmodulated sine wave to jam narrowband receivers, ideal for analog FM/AM radios or telemetry systems.

Square: Emits a harmonic-rich square wave, disrupting digital protocols (e.g., OOK, ASK) and systems sensitive to sharp transitions, such as remote keyless entry.

Sawtooth (Experimental): Generates a sawtooth wave with a unique harmonic profile, useful for testing interference against PWM-based or niche analog systems.

Triangle (Experimental): Creates a triangle wave with minimal harmonics, suitable for exploratory jamming of narrowband systems or receiver linearity testing.

Chirp: Outputs a rapid frequency-sweeping chirp signal, effective against frequency-hopping and spread-spectrum systems (e.g., some Wi-Fi, Bluetooth, or military radios).

Gauss: Generates Gaussian noise to mimic natural interference, targeting digital systems like GPS or data links by degrading signal-to-noise ratios.

Brute (Experimental): Transmits a constant maximum-amplitude signal to saturate simple receiver front-ends, useful for brute-force jamming of basic analog devices.

* Add new jammer modes

Overview

This PR enhances the PortaPack Jammer app by introducing eight new signal types, ported from my Flipper Zero RF Jammer app (https://github.com/RocketGod-git/flipper-zero-rf-jammer). These modes expand the app's capability to disrupt a wide range of RF communication protocols, from analog radios to modern digital systems. The implementation preserves the original app structure, resolves namespace conflicts, and ensures compatibility with the Mayhem firmware.

New Modes

The following modes have been added to the options_type in ui_jammer.hpp, with corresponding signal generation in proc_jammer.cpp:

Noise: Generates broadband white noise to interfere with analog and digital signals (e.g., Wi-Fi, Bluetooth, key fobs). Highly effective for overwhelming receivers across a frequency range.

Sine: Produces a continuous, unmodulated sine wave to jam narrowband receivers, ideal for analog FM/AM radios or telemetry systems.

Square: Emits a harmonic-rich square wave, disrupting digital protocols (e.g., OOK, ASK) and systems sensitive to sharp transitions, such as remote keyless entry.

Sawtooth (Experimental): Generates a sawtooth wave with a unique harmonic profile, useful for testing interference against PWM-based or niche analog systems.

Triangle (Experimental): Creates a triangle wave with minimal harmonics, suitable for exploratory jamming of narrowband systems or receiver linearity testing.

Chirp: Outputs a rapid frequency-sweeping chirp signal, effective against frequency-hopping and spread-spectrum systems (e.g., some Wi-Fi, Bluetooth, or military radios).

Gauss: Generates Gaussian noise to mimic natural interference, targeting digital systems like GPS or data links by degrading signal-to-noise ratios.

Brute (Experimental): Transmits a constant maximum-amplitude signal to saturate simple receiver front-ends, useful for brute-force jamming of basic analog devices.
2025-05-19 19:16:28 +02:00
..
fprotos Increase sensitivity (#2309) 2024-10-17 10:22:01 +02:00
sd_over_usb fixed usb serial not working after reconnect (#2196) 2024-07-17 21:17:42 +12:00
audio_compressor.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
audio_compressor.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
audio_dma.cpp Improved audio beep tone (#2014) 2024-03-19 15:30:05 -05:00
audio_dma.hpp Added a beep duration parameter (#2013) 2024-03-19 18:23:06 +01:00
audio_input.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
audio_input.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
audio_output.cpp Noaa apt decoder (#2648) 2025-05-11 20:24:52 +02:00
audio_output.hpp Noaa apt decoder (#2648) 2025-05-11 20:24:52 +02:00
audio_stats_collector.cpp Resolve Soundboard tone key issue (#1806) 2024-01-23 20:53:04 +01:00
audio_stats_collector.hpp Resolve Soundboard tone key issue (#1806) 2024-01-23 20:53:04 +01:00
baseband.cpp Stop audio DMA in baseband::shutdown() (#2011) 2024-03-19 05:58:23 +01:00
baseband_dma.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
baseband_dma.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
baseband_processor.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
baseband_processor.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
baseband_stats_collector.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
baseband_stats_collector.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
baseband_thread.cpp added radio saturation to performance counter (#1734) 2024-01-07 15:31:08 +01:00
baseband_thread.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
block_decimator.hpp Support for 1.25MHz capture (#1418) 2023-08-29 19:26:38 +02:00
channel_decimator.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
channel_decimator.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
channel_stats_collector.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
chconf.h Formatted code (#1007) 2023-05-19 08:16:05 +12:00
clock_recovery.cpp Complete rewrite of clock recovery, lots of refactoring. 2015-11-06 09:39:59 -08:00
clock_recovery.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
CMakeLists.txt Noaa apt decoder (#2648) 2025-05-11 20:24:52 +02:00
debug.cpp added radio saturation to performance counter (#1734) 2024-01-07 15:31:08 +01:00
debug.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
description Merge fixing, commit to catch up on recent files 2016-02-04 10:27:53 +01:00
dsp_decimate.cpp Support for 1.25MHz capture (#1418) 2023-08-29 19:26:38 +02:00
dsp_decimate.hpp Explain and clean up decimator scalars (#1422) 2023-08-30 09:05:49 -07:00
dsp_demodulate.cpp Wefax warning fix modulation fix (#2543) 2025-03-07 17:28:11 +01:00
dsp_demodulate.hpp Wefax warning fix modulation fix (#2543) 2025-03-07 17:28:11 +01:00
dsp_goertzel.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
dsp_goertzel.hpp Dsp fatfs fix (#1118) 2023-06-07 11:25:35 +02:00
dsp_hilbert.cpp Adding Wefax demodulation mode inside Audio App (#2539) 2025-03-05 11:27:18 +08:00
dsp_hilbert.hpp Adding Wefax demodulation mode inside Audio App (#2539) 2025-03-05 11:27:18 +08:00
dsp_modulate.cpp updating_comments (#2191) 2024-07-08 11:11:12 +02:00
dsp_modulate.hpp Invest limit bw ssb to 3 k (#2188) 2024-07-06 13:34:09 +02:00
dsp_squelch.cpp POCSAG Processor Rewrite (#1437) 2023-09-08 19:41:09 +02:00
dsp_squelch.hpp POCSAG Processor Rewrite (#1437) 2023-09-08 19:41:09 +02:00
event_m4.cpp Workaround for Capture startup hang (#1285) 2023-07-22 10:06:55 -07:00
event_m4.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
fxpt_atan2.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
fxpt_atan2.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
gpdma_lli.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
halconf.h Formatted code (#1007) 2023-05-19 08:16:05 +12:00
linear_resampler.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
main.cpp.unused Start audio DMA only in apps that use audio (#1982) 2024-03-13 16:07:44 +01:00
matched_filter.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
matched_filter.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
mcuconf.h Formatted code (#1007) 2023-05-19 08:16:05 +12:00
name Merge fixing, commit to catch up on recent files 2016-02-04 10:27:53 +01:00
ook.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
packet_builder.cpp Rework BitHistory, BitPattern, PacketBuilder. 2015-11-09 14:38:09 -08:00
packet_builder.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
phase_accumulator.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
phase_detector.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_acars.cpp acars to ext but disabled (#2288) 2024-10-07 15:58:37 +02:00
proc_acars.hpp acars to ext but disabled (#2288) 2024-10-07 15:58:37 +02:00
proc_adsbrx.cpp slightly improved ads-b receiver module (#2649) 2025-05-11 21:11:15 +02:00
proc_adsbrx.hpp slightly improved ads-b receiver module (#2649) 2025-05-11 21:11:15 +02:00
proc_adsbtx.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_adsbtx.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_afsk.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_afsk.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_afskrx.cpp Start audio DMA only in apps that use audio (#1982) 2024-03-13 16:07:44 +01:00
proc_afskrx.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_ais.cpp Beep-on-packet support in AIS app (#2064) 2024-03-29 22:08:32 +01:00
proc_ais.hpp Beep-on-packet support in AIS app (#2064) 2024-03-29 22:08:32 +01:00
proc_am_audio.cpp Adding_Waterfall_ZOOM_x2_in_AM_modes_Audio_App (#2586) 2025-03-23 22:08:12 +00:00
proc_am_audio.hpp Adding Wefax demodulation mode inside Audio App (#2539) 2025-03-05 11:27:18 +08:00
proc_am_tv.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_am_tv.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_aprsrx.cpp Start audio DMA only in apps that use audio (#1982) 2024-03-13 16:07:44 +01:00
proc_aprsrx.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_audio_beep.cpp Improved Audio Beep Test (#2026) 2024-03-23 08:21:35 +01:00
proc_audio_beep.hpp Beep-on-packets option in Settings and updated ERT & Sonde apps (#2058) 2024-03-29 19:26:45 +01:00
proc_audiotx.cpp Start audio DMA only in apps that use audio (#1982) 2024-03-13 16:07:44 +01:00
proc_audiotx.hpp WAV Viewer & Soundboard enhancements (8 or 16-bit WAV files) (#1849) 2024-02-06 11:33:00 +01:00
proc_ble_tx.cpp BLE Comm WIP (#1578) 2023-11-16 14:46:45 +01:00
proc_ble_tx.hpp Ble tx improvements (#1546) 2023-11-01 23:24:55 +01:00
proc_btlerx.cpp BLE Rx Refactoring / Cleanup (#1577) , also added showing MAC for Scan_Rsp Adv_Direct 2023-11-12 19:10:53 +01:00
proc_btlerx.hpp BLE Rx Refactoring / Cleanup (#1577) , also added showing MAC for Scan_Rsp Adv_Direct 2023-11-12 19:10:53 +01:00
proc_capture.cpp Level fix and beep, RSSI avg fix (#2027) 2024-03-23 19:27:05 +01:00
proc_capture.hpp Level fix and beep, RSSI avg fix (#2027) 2024-03-23 19:27:05 +01:00
proc_ert.cpp Beep-on-packets option in Settings and updated ERT & Sonde apps (#2058) 2024-03-29 19:26:45 +01:00
proc_ert.hpp Beep-on-packets option in Settings and updated ERT & Sonde apps (#2058) 2024-03-29 19:26:45 +01:00
proc_flash_utility.cpp Usb serial (#1648) 2023-12-17 17:20:35 +01:00
proc_fsk.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_fsk.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_fsk_rx.cpp New and Improved BLE App. (#1524) 2023-10-22 22:58:14 -07:00
proc_fsk_rx.hpp New and Improved BLE App. (#1524) 2023-10-22 22:58:14 -07:00
proc_gps_sim.cpp Oversample (#1336) 2023-08-02 21:59:26 +02:00
proc_gps_sim.hpp Oversample (#1336) 2023-08-02 21:59:26 +02:00
proc_jammer.cpp Jammer app add modes (#2659) 2025-05-19 19:16:28 +02:00
proc_jammer.hpp Jammer app add modes (#2659) 2025-05-19 19:16:28 +02:00
proc_mictx.cpp updating_comments (#2191) 2024-07-08 11:11:12 +02:00
proc_mictx.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_nfm_audio.cpp Start audio DMA only in apps that use audio (#1982) 2024-03-13 16:07:44 +01:00
proc_nfm_audio.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_noaaapt_rx.cpp Improve_RF_sensitivity_NOAA_signal (#2654) 2025-05-18 12:49:24 +02:00
proc_noaaapt_rx.hpp Noaa apt decoder (#2648) 2025-05-11 20:24:52 +02:00
proc_nrfrx.cpp Explain and clean up decimator scalars (#1422) 2023-08-30 09:05:49 -07:00
proc_nrfrx.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_ook.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_ook.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_ook_stream_tx.cpp Flipper sub (raw+binraw AND ONLY OOK) TX (#2361) 2024-11-16 18:03:53 +01:00
proc_ook_stream_tx.hpp Flipper sub (raw+binraw AND ONLY OOK) TX (#2361) 2024-11-16 18:03:53 +01:00
proc_pocsag2.cpp Beep-on-packet support in POCSAG app (#2061) 2024-03-29 21:27:53 +01:00
proc_pocsag2.hpp Beep-on-packet support in POCSAG app (#2061) 2024-03-29 21:27:53 +01:00
proc_protoview.cpp Protoview (#2206) 2024-07-29 07:45:56 +02:00
proc_protoview.hpp Protoview (#2206) 2024-07-29 07:45:56 +02:00
proc_rds.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_rds.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_replay.cpp Support for 1.25MHz capture (#1418) 2023-08-29 19:26:38 +02:00
proc_replay.hpp Support for 1.25MHz capture (#1418) 2023-08-29 19:26:38 +02:00
proc_sigfrx.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_sigfrx.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_siggen.cpp Added different modulations in signal generator 2025-03-03 22:17:56 +01:00
proc_siggen.hpp Added different modulations in signal generator (#2492) 2025-01-26 21:41:11 +01:00
proc_sonde.cpp Improved Audio Beep Test (#2026) 2024-03-23 08:21:35 +01:00
proc_sonde.hpp Improved Audio Beep Test (#2026) 2024-03-23 08:21:35 +01:00
proc_spectrum_painter.cpp Don't use raw new/delete (#1398) 2023-08-21 10:17:23 +02:00
proc_spectrum_painter.hpp enforce #ifndef __HEADER_H instead of #pragma once, for code consitency and better portability (#2296) 2024-10-14 15:50:04 +02:00
proc_sstvtx.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
proc_sstvtx.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_subghzd.cpp Increase sensitivity (#2309) 2024-10-17 10:22:01 +02:00
proc_subghzd.hpp Increase sensitivity (#2309) 2024-10-17 10:22:01 +02:00
proc_test.cpp Explain and clean up decimator scalars (#1422) 2023-08-30 09:05:49 -07:00
proc_test.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_tones.cpp Start audio DMA only in apps that use audio (#1982) 2024-03-13 16:07:44 +01:00
proc_tones.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
proc_tpms.cpp Beep-on-packet support in TPMS app (#2062) 2024-03-29 21:28:27 +01:00
proc_tpms.hpp Beep-on-packet support in TPMS app (#2062) 2024-03-29 21:28:27 +01:00
proc_weather.cpp Increase sensitivity (#2309) 2024-10-17 10:22:01 +02:00
proc_weather.hpp Increase sensitivity (#2309) 2024-10-17 10:22:01 +02:00
proc_wefaxrx.cpp Adding_WFM_AM_mode_to_Audio_App (#2644) 2025-05-05 17:48:01 +02:00
proc_wefaxrx.hpp WeFax rx ext app (#2566) 2025-03-18 18:31:40 -05:00
proc_wfm_audio.cpp Adding_WFM_AM_mode_to_Audio_App (#2644) 2025-05-05 17:48:01 +02:00
proc_wfm_audio.hpp Adding_WFM_AM_mode_to_Audio_App (#2644) 2025-05-05 17:48:01 +02:00
proc_wideband_spectrum.cpp Looking glass beep (#2036) 2024-03-24 22:32:13 +01:00
proc_wideband_spectrum.hpp Looking glass beep (#2036) 2024-03-24 22:32:13 +01:00
rssi.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
rssi.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
rssi_dma.cpp Don't use raw new/delete (#1398) 2023-08-21 10:17:23 +02:00
rssi_dma.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
rssi_stats_collector.hpp Rxsat in Level app (#1959) 2024-03-09 22:26:56 +08:00
rssi_thread.cpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
rssi_thread.hpp Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
spectrum_collector.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
spectrum_collector.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
stream_input.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
stream_input.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
stream_output.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
stream_output.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
symbol_coding.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
tone_gen.cpp More debug Audio Beep Test tweaks (#2028) 2024-03-23 13:25:36 -05:00
tone_gen.hpp Fixed Sonde RSSI "Beep" (#2012) 2024-03-19 10:53:55 +01:00
touch_dma.cpp Don't use raw new/delete (#1398) 2023-08-21 10:17:23 +02:00
touch_dma.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
tv_collector.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
tv_collector.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
w25q80bv.cpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00
w25q80bv.hpp Formatted code (#1007) 2023-05-19 08:16:05 +12:00