I’m new to MQTT and I try to subscribe to gateway status
topic from my local running typescript program but it doesn’t receive any message for gateway status
topic at all. This program also subscribe to another topic and messages for that topic is properly received. I login to TTN console to check gateway information and found that gateway status is published every 30 seconds. I thought it maybe because of permission problem, so I added Grant all current and future rights
to API Key of Application but still no message for gateway status topic have received.
This is the topic I use to subscribe to gateway status v3/<gateway-id>@ttn/status
. I get gateway-id from TTN console.
Additional Info:
I found that there is no View gateway status
right in API Key for Application but Gateway and Organization’s API Key. So I generated Organization’s API Key with Grant all current and future rights
and tried to connect with <Organization ID>@ttn
as an username and Organization’s API Key as a password but rejected. So I Tried to connect with <Application ID>@ttn
as an username and Organization’s API Key as a password then it was successfully connected but still having same result. Receiving only messages for another topic but message for gateway status
is still not received