Some text may hang the pistar when transmitting POCSAG
Posted: Fri Sep 07, 2018 10:41 am
I encounter something which, the pistar will hang when sending certain strings
below are the string that send via POCSAG
but when u use other "PLACE=Kuala+Lumpur" for instance, the POCSAG go through... i wonder what's going on?
it confirm will hang on "PLACE=Dudinka" , "PLACE=Oslo", "PLACE=Moscow" and "PLACE=Sydney"
anyone wanna try on their pistar?
below are the string that send via POCSAG
the MMDVM still alive, u still can ssh into it, but the MMDVM service is eventually hang. i need to power of and on it back again
#!/bin/sh
export LANG=C.UTF-8
METRIC=1 # 0 for F, 1 for C
#PLACE=Heihe
#PLACE=Yukagir
#PLACE=Resolute
#PLACE=Yakutsk
#PLACE=Winnipeg
#PLACE=Buckland
#PLACE=Harbin
#PLACE=Beijing
PLACE=Subang+Jaya
#PLACE=Puchong+New+Village
#PLACE=Kuala+Lumpur
#PLACE=Shanghai
#PLACE=Manila
#PLACE=toronto
#PLACE=Oymyakon
#PLACE=Oslo
#PLACE=Moscow
#PLACE=Sydney
#PLACE=Dudinka
CALLSIGN=9W2LWK
result1=`curl -s http://rss.accuweather.com/rss/liveweat ... e\=${PLACE} | sed -n '/Currently:/ s/.*: \(.*\): \([0-9]*\)\([CF]\).*/\2°\3, \L\1/p'`
result2=`echo ${result1} | sed 's/\xB0/ degree /g' `
result=`echo ${result2} | sed 's/[^[:print:]\t]//g' `
PLACE=`echo ${PLACE} | sed 's/\+/ /g' `
if [[ ${result} =~ .*thunderstorms.* ]]
then
word="${PLACE}, ${result}, please bring umbrella"
echo $word
/usr/local/sbin/pistar-dapnetapi ${CALLSIGN} '${word}' debug
elif [[ ${result} =~ .*showers.* ]]
then
word="${PLACE}, ${result}, please bring raincoat"
echo $word
/usr/local/sbin/pistar-dapnetapi ${CALLSIGN} '${word}' debug
else
word="${PLACE}, ${result}, have a nice day"
echo $word
/usr/local/sbin/pistar-dapnetapi ${CALLSIGN} '${word}' debug
fi
but when u use other "PLACE=Kuala+Lumpur" for instance, the POCSAG go through... i wonder what's going on?
it confirm will hang on "PLACE=Dudinka" , "PLACE=Oslo", "PLACE=Moscow" and "PLACE=Sydney"
anyone wanna try on their pistar?