AndyTaylorTweet / Pi-Star_Binaries_sbin

Repository for Pi-Star Binaries
http://www.mw0mwz.co.uk/pi-star/
43 stars 41 forks source link

Please add the ${modemSpeed} to pistar-mmdvmcal script, so that I can use 460800bps BAUD #58

Closed bi7jta closed 9 months ago

bi7jta commented 9 months ago

Hi Andy MW0MWZ,

Now in PI-STAR 4.2.0 the MMDVMCal script not work.

image

Can you please add ${modemSpeed} parameter to official PI-STAR sbin/pistar-mmdvmcal , so that I can use PI-STAR 4.2.0 MMDVMCal work in 460800bps.

Thank you very much!

https://github.com/AndyTaylorTweet/Pi-Star_Binaries_sbin/blob/master/pistar-mmdvmcal `modemSpeed=$(grep -m 1 'UARTSpeed=' /etc/mmdvmhost | awk -F "=" '/UARTSpeed/ {print $2}')

...

Run MMDVMCal twice, killing the first one after 3 secs

/usr/local/bin/MMDVMCal ${modemSpeed} ${mmdvmModem} >/dev/null 2>&1 & sleep 3 killall MMDVMCal >/dev/null 2>&1 /usr/local/bin/MMDVMCal ${modemSpeed} ${mmdvmModem}`

MW0MWZ commented 9 months ago

Thank you for suggesting this, now fixed.