VanceVagell/kv4p-ht

[Android] Add "Show signal meter" setting

Open

#319 opened on Aug 17, 2025

View on GitHub
 (6 comments) (0 reactions) (1 assignee)Java (126 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (789 stars)
PR merge metrics
 (PR metrics pending)

Description

Right now the signal meter (S-Meter or RSSI) is always displayed in the app, on both the voice and APRS chat screens. This is usually desirable. However, there's some hardware defect in the SA818S/DRA818 radio modules whereby nearby transmissions somehow overpower it and corrupt the rx audio (causing a click) whenever RSSI is sampled. This is not normally a problem out in the field, almost only in a "bench test" scenario.

However, if someone has some special use case where they DO need a kv4p HT to be near to a strong transmitter (or near another HT), this setting would let them turn it off and remove the clicking, although they also lose the S-Meter display. This would almost certainly only be for things like specialized packet radio use cases where multiple node smight be near each other.

  1. A new setting needs to be added to the in-app DB.
  2. Here's the code to show/hide the S-Meter UI and tell the microcontroller to start/stop using RSSI:

Turn it off: radioAudioService.setRssi(false); findViewById(R.id.sMeter).setVisibility(View.GONE);

Turn it on: radioAudioService.setRssi(true); findViewById(R.id.sMeter).setVisibility(View.VISIBLE);

Contributor guide