Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

MQTT client library crashing in EK-TM4C1294XL

$
0
0

I'm following this blog and trying to use MQTT client library( http://energia.nu/wordpress/wp-content/uploads/2014/09/PubSubClient.zip ) with my EK-TM4C1294XL launchpad. When I'm trying to use mqtt_basic example which comes with the libary, the program is crashing. When I tried debugging it with CCS, I found that the program is crashing when I PubSubClient->connect is called. Please see the attached screenshot. When I execute the highlighted line in the code( line no 1460 in picture ), the program is crashing and goes to FaultISR() in startup_code.

 

Screenshot from 2014-09-14 10:49:38.png

 

The problem is when I call client.connect( "adruinoClient" ), it check whether the client is already connected and when it finds that it is not, it calls

_client->stop();( line361) from PubSubClient::connected() in PubSubClient.cpp and crashes.


Viewing all articles
Browse latest Browse all 2077

Trending Articles