Yeah, I create the string, then try and print it 3 times (this is for testing to show the issue) and the string is printed differently each time.
I would love to do it your way, outputting the serial data directly without the string middleman, but the SIM900 module needs to know the amount of data its going to send before you enter the data; i.e
- Send 900 b of data
- Here's the 900 b
As the amount of data changes each time, I don't know how long the string is prior to entering the data. Thinking about it, I might be able to figure that out with some basic maths... In fact you might be onto something there....
Its just annoying that I can't use all of that delicious RAM to do this the 'easy' way ![]()