Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program end in an endless loop in waitfor(Client* c, int packet_type, Timer* timer) #15

Open
raigonignatius opened this issue Jan 28, 2017 · 0 comments

Comments

@raigonignatius
Copy link

When testing linkit with AWS IOT , noticed that of the MQTT connection is disconnected while attempting reconnect, it is ending in an endless loop...

Debug trace
delay(2000 mSec)
LTask.remoteCall(&nativeLoop, NULL);
MQTT Disconnect

aws_iot_mqtt_yield(3000) returned -7
-->restarting connection
reconnect MQTT...(LTask.remoteCall(&mqtt_start, NULL); )
tls starting
tls connected
wait for connect 4000
wait ends 2
connected 0
Mqtt connection... OK
subscribe_MQTT
MQTTSubscribe with timeout 4000ms
if (waitfor(c, SUBACK, &timer) == SUBACK)
ýÿF<0><0><0><0><0><0><0><0><0>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant