I just got PTT working, will be checked in soon.
I split the IO output function call into 2 parts. One to set the current band and the GPIO modules remembers that. The other passes PTT state and sets the 12 Band and PTT lines in bulk. I hooked into wfmain.cpp receivePTTstatus(). I am sure you would have something more elegant.
The ability to set the band separate of the current band is useful for crossband split, particularly the IC-9700 where you may not want to switch relay between the Main and Sub bands, or you might. I make it a config choice,
The Pi IO requires unique IO pins (12 in this case) or setting the values will fail and cause bad things.
I noted the 905 rig file has the 13cm band start 2400Mhz leaving out 2300-2310 and 2390-2400 segments. I just changed my rig file to start at 2300 instead of 2400. 2450 is the high side, at least for Region 2 here. I normally use 2304Mhz for SSB terrestrial.
I like the idea of a headless server running under systemd with live status output to a log file. In my use scenario, at least at this early stage, I am leveraging wfView as a communication interface hub/protocol converter. The prospect of trying to add the LAN interface to the radio into my ESP32/Teensy decoder seems rather tough, there is no OS - the way I like it usually.
In my other decoder I have a config choice for polled or wired PTT. While LAN is decent speed, there is still lag and I prefer wired for the fasted PTT switchover speed.
In my “big” decoder/uW-wattmeter//big_pcb project on Teensy, I also built a Teensy rotator controller. Both use my own simple ASCII message set talking to an optional Python desktop app. Useful as it provides a Config UIO for complex band decoder rules and ship up the final parameters into EEPROM. Using an established rotor protocol has advantages but did not solve my decoder/wattmeter needs.
I am surrounded by transverters. Most are on the K3 as it supports them natively and has BCD band IO. I have been trying to bring the 705 up to equivalent capability, nearly there. All my transverters, amps, and decoders are located 100ft away outside in a cabinet fed by 72VDC and stepped down to 12 and 28V. Everything has to be automated or it won’t work.