Hello,
I'm working with a TM4C1294 LaunchPad. I've been able to connect to the exosite server just fine using the demo program qs_iot. Now I want to begin sending data to my own server I have configured. I have found the portion of the demo code that is sending the data in exosite.c lns 488-493 (they are 5 straight calls of the function "sendLine()").
I feel like I have been able to construct my own POST command just fine. I plugged it into the code instead of the data they have but it is not reaching my server. The error message I read back in get_http_status() is not one sent out by my server so I know the POST message isn't even getting to my server.
I have done plenty of digging and am wondering if anyone knows what I am missing. Evidently changing just the contents of the POST command isn't adequate. I believe before we get to this point in the code there is a routine utilizing a DNS to figure out the IP address of the host server. I think the exosite code is initializing to m2.exosite.com, which would explain why my commands aren't going where I want them to.
Does anyone know how I can get it to send data to my server? Is there somewhere I can plug in my domain or IP address?
Thanks,
V