Closed GoogleCodeExporter closed 8 years ago
At a glance,
shouldn't gsm.readSMS be gsm.getSMS ???
there seems to be no actual 'readSMS' function in the library. There is a
'IsSMSPresent' function to check for the location of any unread messages, and
the getSMS function which outputs it.
dean.huczok
Original comment by cabledup...@gmail.com
on 27 Feb 2013 at 10:17
[deleted comment]
glad im not the only one with this issue, i got the following to work
if(sms.GetSMS(8,n , smsbuffer,160)) //where 8 represents the index of the sms,
im such a noob i haven't figured out as yet how to read the latest sms on the
sim card
you can change the figure 8 to anything value it appears to be the location of
text with regards to their arrival, e.g. number "8" was the 8th message my sim
card received and "4" would be the 4th message etc
Original comment by mrharvey...@gmail.com
on 28 Feb 2013 at 3:02
Use sms.GetSMS((int)pos,number,message,180); not the other one.
Marco
Original comment by martines...@gmail.com
on 8 Mar 2013 at 10:47
This issue section is not longer supported.
Please check the support page www.gsmlib.org
Original comment by martines...@gmail.com
on 6 Jul 2013 at 11:27
Original issue reported on code.google.com by
kue...@gmail.com
on 20 Feb 2013 at 3:12