Jump to content
maaislam

CC3200 MQTT Connection Issue

Recommended Posts

I was using CC3200 to publish sensor data to a MQTT broker (iot.eclipse.org). I was trying on a demo where sensor data is received over Sub 1GHz RF and using CC3200 uploaded to the cloud via MQTT. Everything was woking fine like 7 days, but for the last 5 hours MQTT publish wont work, device is connecting to wifi though.

This is a bizzare scenario I get no error while compiling, but I am getting a new warning:

  Description Resource Path Location Type deprecated conversion from string constant to 'char*' [-Wwrite-strings]  Cloud_Gateway.ino    /Cloud_Gateway    line 138    C/C++ Problem


for the line---------client.connect("myCC3200_gateway_maaislam");
                            &
                           if(client.publish("mySensorData_maaislam",(char*)rxData))

Could this be a hardware issue  or im missing something? Can anyone shed some light on the matter Please...I have also attached my .inofile with this post. Please note I am using energia sketch in CCS. (Same thing happens in energia as well )

Cloud_Gateway.ino.txt

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...