You're right, the naming of my struct is not as clear as it should be. That comment was me testing out the function; it should have been removed. The asyncbee.addPOSTdata function does get data as the post_data array is filled prior to that function being called; the process is:
post_data is filled with Events
The asyncGPRS class is started and is constantly called and polled, and advances through multiple steps
Once step 12 is reached, the post_data is output via Hardware serial (which is connected to the SIM900 module)
However, even prior to that point, the post_data array does not output correctly when it is first created - lines 151 through 153 in events.ino.
why not just send the pieces that you would have been appending to the buffer
I could do that, and I probably will end up doing it, I just don't understand why I can't output a long string without corruption. Its really frustrating as this is the last thing I need to do before I can finish this project.
Thanks for the help so far everyone ![]()