dl1ycf / pihpsdr

Raspberry Pi standalone code for HPSDR (old and new Ethernet protocol)
GNU General Public License v3.0
41 stars 21 forks source link

Rigctl Add PowerOff , Correct Set AF Gain #17

Closed wwortel closed 1 year ago

wwortel commented 1 year ago

PowerOff allows to stop pihpsdr with saving of settings, followed by OS shutdown. This is useful before cutting power e.g. in remote operation. Set AF Gain did not work properly. The value to be produced from 0-255 is a negative dB value and hence a log() function is required.

wwortel commented 1 year ago

PS command now only shuts donw the Linux OS when pihpsdr is found to be running on a platform with XDMA, e.g. Saturn. tested: Anan G2

dl1ycf commented 1 year ago

Thanks for the suggestions/fixes, I have manually implemented them and cherry-picked to other branches. One comment to the "PS0" command: