7
2.5 Subscribe to the MQTT topic where the Gateway is
publishing via the Mosquitto commands
mosquitto_sub -t "gateway/#" -p 8883 -v --cafile ~/ca.crt --cert ~/eui_xxxxxxxxxxxxxxxx.crt --key eui_ xxxxxxxxxxxxxxxx.key
--tls-version tlsv1
Note: xxxxxxxxxxxxxxxx stands for your Gateway EUI
If the following message appear, this means you have subscribed successfully
gateway/60c5a8fffe6f74a0/rx
{"rxInfo":{"mac":"60c5a8fffe6f74a0","timestamp":2036224996,"frequency":905300000,"channel":7,"rfChain":1,"crcStatus":1,"c
odeRate":"4/5","rssi":-23,"loRaSNR":10.5,"size":24,"dataRate":{"modulation":"LORA","spreadFactor":7,"bandwidth":125},"boa
rd":0,"antenna":0},"phyPayload":"gC5K1gGASwIFAUrhF/nr2MDyWNXIw9L4"}
gateway/60c5a8fffe6f74a0/tx
{"token":35594,"txInfo":{"mac":"60c5a8fffe6f74a0","immediately":false,"timestamp":2037224996,"frequency":927500000,"pow
er":20,"dataRate":{"modulation":"LORA","spreadFactor":7,"bandwidth":500},"codeRate":"4/5","iPol":true,"board":0,"antenna":0}
,"phyPayload":"YC5K1gGgOQI9VpIf"}
gateway/60c5a8fffe6f74a0/ack {"mac":"60c5a8fffe6f74a0","token":35594}
gateway/60c5a8fffe6f74a0/stat
{"mac":"60c5a8fffe6f74a0","time":"2019-04-02T07:18:54Z","rxPacketsReceived":5,"rxPacketsReceivedOK":3,"txPacketsRece
ived":3,"txPacketsEmitted":3}
gateway/60c5a8fffe6f74a0/rx
{"rxInfo":{"mac":"60c5a8fffe6f74a0","timestamp":2046166763,"frequency":904100000,"channel":1,"rfChain":0,"crcStatus":1,"c
odeRate":"4/5","rssi":-21,"loRaSNR":9.8,"size":17,"dataRate":{"modulation":"LORA","spreadFactor":7,"bandwidth":125},"boar
d":0,"antenna":0},"phyPayload":"gC5K1gGATAID1VoTFGxWaz8="}
gateway/60c5a8fffe6f74a0/tx
{"token":19073,"txInfo":{"mac":"60c5a8fffe6f74a0","immediately":false,"timestamp":2047166763,"frequency":923900000,"pow
er":20,"dataRate":{"modulation":"LORA","spreadFactor":7,"bandwidth":500},"codeRate":"4/5","iPol":true,"board":0,"antenna":0}
,"phyPayload":"YC5K1gGg"}
gateway/60c5a8fffe6f74a0/ack {"mac":"60c5a8fffe6f74a0","token":19073}