portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2/H4
https://hackrf.app
GNU General Public License v3.0
3.32k stars 540 forks source link

Radiosonde beep tone tweaks #2020

Closed NotherNgineer closed 6 months ago

NotherNgineer commented 6 months ago
  1. Modified signal message enums to distinguish between Roger Beep (transmitted by the Mic app) and RSSI Beep (an audible speaker/headphone beep used by the Radiosonde app). Also added a "Stop Beep" option (not currently used).
  2. Added a new "Audio Beep" message type where audio freq and duration can be specified to the baseband code.
  3. Changed Radiosonde RSSI audio beep frequency range to 400 Hz to 8 KHz (audio frequency range that my PortaPack speaker can produce). The original minimum 200 Hz couldn't be heard on the little speaker of one of my units.
  4. When Beep checkbox is enabled in Radiosonde, make a 1KHz beep sound, versus a beep tone that's dependent on the current RSSI level. 1KHz is more easily heard than the 400 Hz.
  5. Modified Radiosonde app to save Beep, Logging, and CRC checkbox settings in app settings .ini file.

I'm still assuming here that the max RSSI level is 1000 as in the proc_sonde.hpp header file (haven't verified if that's really the case yet)

Test firmware available here: https://discord.com/channels/719669764804444213/722101917135798312/1220241565876883497