MQTT Messages not showing.
- This topic has 4 replies, 3 voices, and was last updated 7 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forums › Lora Network Server › MQTT Messages not showing.
Tagged: mosquitto_sub, mqtt
I’m using mosquitto_sub -t “#” -v to view the messages coming from Lorawan Devices into the Multitech Conduit but no messages appears.
– I’m sending messages from my Lora end-device (CT Sensor)
– I can see other packets passing through since the counter is increasing for the gateway.
– I used Packet Forwarder and know my messages are passing through because they reach TTN.
– I tried using Public and Private Lora, but no success.
I’ve gone through the instructions and firmware is 1.6.2 and FPGA is 33.
Can someone please help?
Hello Sleung
To subscribe to the local MQTT Broker the Conduit, the Conduit needs to be
configured as the “LoRa Network Server”.
When the Conduit Gateway is configured as a “Packet Forwarder” all packets
are forwarded to the LoRa Network Server (TTN) and Mosquitto can not be used
to view any LoRa packets traversing the Gateway nor is there any logging of
LoRa end-device packets.
-Best Regards
Hi Steve,
Yup, under LoRa Mode – Mode, I’ve selected NETWORK SERVER.
I’ve attached links to images of the setup:
Lora
Gateway
Packets
mqtt result I see (no messages seen)
Thanks for clarifying about the Packet Forwarder.
Is there something I’m missing?
Did you register the device appkey on key mgmt page?
Hey Jason,
Yup you are correct, I had the wrong settings for my device for the session entry.
Thank you all for your help, it is working now.