Some text may hang the pistar when transmitting POCSAG

Here is where you can get help with using and setting up POCSAG and related topics
Post Reply
User avatar
Posts: 8
Joined: Mon Jul 09, 2018 9:26 am
Location: Kuala Lumpur

Some text may hang the pistar when transmitting POCSAG

Post by 9w2lwk » 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

export LANG=C.UTF-8
METRIC=1 # 0 for F, 1 for C

result1=`curl -s ... 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.* ]]
word="${PLACE}, ${result}, please bring umbrella"
echo $word
/usr/local/sbin/pistar-dapnetapi ${CALLSIGN} '${word}' debug
elif [[ ${result} =~ .*showers.* ]]
word="${PLACE}, ${result}, please bring raincoat"
echo $word
/usr/local/sbin/pistar-dapnetapi ${CALLSIGN} '${word}' debug
word="${PLACE}, ${result}, have a nice day"
echo $word
/usr/local/sbin/pistar-dapnetapi ${CALLSIGN} '${word}' debug
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

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?

Posts: 115
Joined: Thu Apr 05, 2018 2:48 am
Location: United Kingdom

Re: Some text may hang the pistar when transmitting POCSAG

Post by M0GLJ » Thu Sep 13, 2018 9:55 am

your problem will likely have something to do with getting the data you are requesting from the server. Check the information that your are trying to request. If you get not errors with the request then you are good to go

Pi-Star Marketing Director - Pi-Star Administrator - Pi-Star Beta Tester

ZUMradio ■ ZUMspot ■ DV-Mega

D-star --> IC-E92D
DMR --> DM-4600 ■ DM-4601 ■ MD-380 ■ RT-82
DAPNET --> Alphapoc 602R

Post Reply