Reading TX / RX status via CLI

MMDVM_HS Hat hardware
Post Reply
dd0ul
Posts: 7
Joined: Tue Jul 17, 2018 8:20 am

Reading TX / RX status via CLI

Post by dd0ul »

Moin,

is there a chance to read the HF status (mmdvm transmitting oder mmdvm receiving) from the commandline? Like reading the temperature

echo "$(cat /sys/class/thermal/thermal_zone0/temp) / 1000" | bc

vy 73 de Micha, DD0UL
KE7FNS
Pi-Star Team
Posts: 2429
Joined: Wed Apr 17, 2019 11:11 pm

Re: Reading TX / RX status via CLI

Post by KE7FNS »

dd0ul wrote: Sat Dec 11, 2021 12:06 pm is there a chance to read the HF status (mmdvm transmitting oder mmdvm receiving) from the commandline? Like reading the temperature
No, it is impossible, the RF status is on the STM32 microprocessor directly on the hat, not on the RPi.

The problem is the serial port is already in use by MMDVMHost, so you can't query the hat while MMDVMHost is operating, that is why during flashing or using MMDVMCal it kills the MMDVMHost process first.

It is also why the ​dashboard scrapes the log files instead of directly accessing the STM32 hardware.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol: and again
Post Reply