portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.05k stars 520 forks source link

Fixed Sonde RSSI "Beep" #2012

Closed NotherNgineer closed 4 months ago

NotherNgineer commented 4 months ago
  1. Added audio output beep support to the baseband audio_dma module.
  2. Cleaned up and fixed RSSI Audio Beep in Sonde app, whereas before it was silent.
  3. Produce a beep sound when enabling Beep (on packet reception) in the Sonde app.
  4. Cleaned up dead code in the background tone_gen module.

I haven't actually verified that the tone frequencies are suitable for various RSSI levels, but at least it's making a beep sound now. Will check beep tone frequency later. Note that the volume (in upper right corner) may need to be increased from the default.

Fixes #1973

Test version available here: https://discord.com/channels/719669764804444213/722101917135798312/1219549250145357845

gullradriel commented 4 months ago

Wooooo nice ! I should add an option to activate it on Level app !

htotoo commented 4 months ago

Will love to use this in the BLE Foxhunt app :) Thanks!

NotherNgineer commented 4 months ago

FYI, I am planning to also add a time parameter to this (in the next PR) so the background app doesn't stall while the beep is occurring.