"EDITED" Expresslink messages not being seen in IOT core

0

I have an Espressif Expresslink Dev board connected to an Arduino running the example sketch. I solved the original Issue I had and it started sending messages to AWS and I could see them arrive in the test client. However, after a period of time, which varies from seconds to a few hours, it just stops being able to connect and I see no messages. The code is designed to try and reconnect when a connection is lost, but once it has failed to send a message, or the message is not recieved, it never starts again unless I restart the Arduino Uno. Its hard to debug because opening the serial monitor seems to kick it back into life. Any help appreciated as this is a real pain.

已提問 2 年前檢視次數 337 次
5 個答案
0

Are you using the same IoT policy for the faulty device and the 2 other devices for which you observe messages in the test client?

To check whether this is permissions issues, please enable logging , and look for an error on message publish for the device.

Any logs you can share from the device side?

AWS
已回答 2 年前
0

Hi, same policy is attached but. i can't find any logging for this thing except for its shadow.

已回答 2 年前
0

Welcome to Re:Post and thanks for your question. This issue sounds like the ExpressLink device is being disconnected from the network. This could be due to inactivity (aka a TLS timeout) or several other reasons. Can you provide ExpressLink device logs from when the disconnect happens? This would help me in debugging your issue.

Also regarding...

The code is designed to try and reconnect when a connection is lost..

You mean the Arduino code/sketch, right? An AWS ExpressLink device will never automatically reconnect on your behalf. This is done on purpose as network traffic for IoT devices can be very expensive and maintaining a network connection means sending traffic.

AWS
KodyAWS
已回答 1 年前
0

Have you updated the board's firmware? You can get information about the version from AT+CONF? Version and AT+CONF? TechSpec.

Updated firmware for the Espressif board is available at https://github.com/espressif/esp-aws-expresslink-eval.

AWS
Archit
已回答 1 年前
0

I haven't for some time. I stopped using the boards as it became clear that I was sold a product that was not actually ready for release to the public. I had wasted a lot of time trying to make it work and in the end it was easier to run an ethernet cable in my case. I may have another use case soon and will try with the upgrade.

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南