AWS IOT core only receives data from gateway LoraWan sometimes.

0

Good afternoon everyone, I hope you are well.

The title of this message seems strange but this is exactly the problem I've been facing with a lorawan gateway, with communication configuration with the AWS IoT core.

I registered a lorawan gateway on AWS iot core, downloaded the certificates and it is connected as can be seen in the status below. Insira a descrição da imagem aqui

The problem is that some of the packets captured by the gateway are not received by AWS.

I am monitoring the Gateway Log and all triggers of a lora presence sensor are captured and sent to AWS as can be seen in the log below.

Insira a descrição da imagem aqui

The payload of the image above did not reach the Mosquitto client.

Already the image below was received normally. Insira a descrição da imagem aqui

Mosquitto client connected to topic #. Insira a descrição da imagem aqui

Does anyone know if there is any way I can monitor the logs in the WebSocket responsible for receiving data from the gateway?

I tried to do something along those lines using the network analyzer inside AWS IoT core, but I can only trace incoming messages there. The ones that are being rejected for some reason I have no information.

Thank you in advance for your attention.

profile picture
asked 8 months ago254 views
2 Answers
0

Good morning Greg_B, hope you are well.

First thanks for your attention.

In the examples that I uploaded I did triggers from different devices really. However, a device that is communicating now will not communicate at any time. The connection is unstable.

I've been trying to figure out why for a few months now. Initially I thought it was a frequency problem, but now I see in the log that all triggers are captured by the gateway and relayed to AWS.

Missing messages are not displayed in the NetWork analyzer.

Is there any way where I can see the websocket server log?

profile picture
answered 8 months ago
0

Hi. Are the gateway logs showing two different devices or two different sessions of the same device? I'm asking because the success and failure examples have different DevAddr.

You mentioned Network Analyzer: have you confirmed that the missing messages fail to appear in Network Analyzer? I'm wondering if they reach IoT Core (and would therefore appear in Network Analyzer if your NA configuration was correct), but maybe there's a problem with the configuration of the Destination for the misbehaving device (and hence no message seen in the MQTT test client).

profile pictureAWS
EXPERT
Greg_B
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions