nitingautam / smslib

Automatically exported from code.google.com/p/smslib
0 stars 0 forks source link

CDMA message didn't get parse out by modemgateway #367

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
output of class ATHandler_Wavecom_SunTraveller is 
+CMGR: 0,"REC READ","4444",,"10/06/18,12:16:32",0,2,1,"4444",149esia PAKET 
GRATIS memberikan Anda Gratis 50 Menit Talktime ke sesama esia lokal setiap 
bulan, selama 6 bulan. Bonus anda akan mulai aktif bulan depan
+CMGR: 1,"REC READ","9009",,"10/06/18,12:16:48",0,2,0,"9009",146Nikmati tarif 
terbaik SMS Esia,Rp 1/karakter ke SEMUA OPERATOR se-Indonesia.Gunakan selalu 
Esia untuk jalin komunikasi dgn rekan dan kerabat Anda.
+CMGR: 2,"REC READ","9009",,"10/06/18,12:16:48",0,2,0,"9009",156Pelanggan 
Yth,Utk mengetahui sisa TalkTime Anda,kirim sms ke 555 ketik: TALKTIME.Utk top 
up,ketik: TOPUP<spasi>kode voucher yang tersembunyi di voucher Anda
+CMGR: 3,"REC READ","555",,"10/06/18,12:13:35",0,2,1,"555",136Selamat datang di 
layanan Bakrie Telecom.Segera daftarkan data Anda,SMS:DAFTAR*NAMA*ALAMAT,ke 
4444 atau telp ke 4444.Bila tdk mendaftar,
+CMGR: 4,"REC READ","555",,"10/06/18,12:13:35",0,2,1,"555",76telp belum dpt 
digunakanSaldo Talktime : Rp. 10000.Masa aktif s/d: 18/07/10.
+CMGR: 5,"REC READ","6060",,"10/06/18,12:16:48",0,2,0,"6060",82Nikmati layanan 
Esia Gogo jika Anda bepergian ke luar kota.Info lengkap hub *6060.OK
. and when we read message with example that provide by smslib it will throw 
out like this

text : aaaaaaaa +CMGR:1,blablabla,test+CMGR:2,blablabla

as you see all the message from the modem was appended into one text.
I change the function org.smslib.modem.ModemGateway.readMessagesTEXT, line 432, 
please review attached file

Original issue reported on code.google.com by hendrace...@gmail.com on 22 Jun 2010 at 5:52

Attachments:

GoogleCodeExporter commented 9 years ago
r2222 - thank you.

Original comment by T.Delenikas on 17 Jul 2010 at 9:29

GoogleCodeExporter commented 9 years ago

Original comment by T.Delenikas on 13 Nov 2010 at 8:16