Go Down

Topic: [Help] arduino sim900 shield dose not parse full sms (>140 character) (Read 99 times) previous topic - next topic

quy_arduino

Hi everyone!
I have project with arduino sim900 shield and arduino UNO R3!
I use GSMSHIELD code library at https://github.com/jefflab/GSMSHIELD.
It had worked very well but have 1 problems with sms receive (more 140 character).
Example if i send sms with 150 character to my arduino sim900, it just parse 138 character (Not full sms)
I search this problems on Google but i don't find any right answer :(
Please help me, thank you so much :)

SupArdu

I am not familiar with the library you are using, but a possible reason might be a too small input buffer. 138 characters + CR + Zero at the end of the string = 140;

Look for the buffer size definition in the library with size 140.

SupArdu
-------------------
have success
SupArdu

quy_arduino

Thank for your help!
I know, I try edit Getsms function but I can't find any size variable with value 140 :(

Go Up