The following snippet works after the system is up and running:
Code: Select all
grep 'MMDVM protocol version' /var/log/pi-star/MMDVM*.log | awk '{print $9}'
Is there a better place to pull the firmware version from that exist at boot?
Code: Select all
grep 'MMDVM protocol version' /var/log/pi-star/MMDVM*.log | awk '{print $9}'
Code: Select all
pi-star@pi-star(rw):~$ find /dev/tty* ! -type l | grep -E "tty(AMA|ACM|USB|S)."
Code: Select all
pi-star@pi-star(rw):~$ sudo echo -en '\xE0\x03\x00' > /dev/ttyAMA0