返回列表 發帖
各位師兄 , 我重裝了raspbx 新舊版本 , 仍然pccw check balance ##21# 的SMS 無法decode , 也試了edmond25  ...
woolungtea 發表於 2017-9-8 10:22



    ussd 定 sms 出問題?
我來緊都要用來check hello code.

TOP

I am okay wor

TOP

2017-09-12 19:07:20 - dongle0: Thanks for using CSL Prepaid SIM Card service, a short message will be sent to you shortly.

TOP

本帖最後由 mcdull 於 2017-9-13 02:39 編輯

The Mobile No of your Prepaid SIM card is xxxxxxxx, and the remaining value is $48.00; valid till 11/Mar/2018. Please visit http://prepaid.hkcsl.com for data usage enquiry.

btw ##21# 係飛線喎.

BTW, can you share the cronjob script for checking balance?

TOP

I'm using python:Btw, for the encode/decode problem I've raised last year, it was fixed by itself (i ...
ttmuskie 發表於 2017-9-13 10:34



    Thanks.  I had just put it in a shell script and put under the crontab.  Are you going to implement some alert if the amount is lower than a specific value? or the expiry date? These are more interesting to look at for automation.

TOP

搵左幾日,原來 decode sms 既 PDU 係咁困難,啲library一係就只做send, 一係就勁難用.
有冇啲library係可以就咁用command line pass 個pdu string 就用到?

TOP

回復  mcdull

唔該晒先 , 亂碼只係出現係用hello SIM send ussd ##122# check balance 時 , 由於我見SMS  ...
woolungtea 發表於 2017-9-21 17:05



    而家啲SMS 野野都分開3-4個.. 好X煩...

TOP

返回列表