Kontron TRACe-LP1 Gateway User Guide – SD.DT.G74.7e
www.kontron.com
// 26
6/
MQTT Messages Configuration
6.1.
MQTT Messages published
For each valid LoRaWAN™ frame received by the lora-agent, one or more MQTT messages are sent with a
corresponding topic.
/Kontron/TRACe/GATEWAY_ID/Lora/DEVTYPE/DEVEUI/FPORT
The message sent is the application payload of the LoRaWAN™ frame (FRMPayload field of the LoRa frame: see LoRa
specifications).
This message is sent when the python process was not enable for this device (device with EUI DEVUI).This topic and
its corresponding message are only sent when python process is disabled for the corresponding device (device with
EUI DEVEUI).
/Kontron/TRACe/GATEWAY_ID/Lora/DEVTYPE/DEVEUI/SUBJECT
The message sent is the message returned by the python process to the lora-agent.
SUBJECT
is the topic returned by the python process to the lora-agent.
It can be a one level topic or a multiple level topic
Example:
"/Kontron/TRACe/GATEWAY_ID/Lora/DEVTYPE/DEVEUI/Event"
"/Kontron/TRACe/GATEWAY_ID/Lora/DEVTYPE/DEVEUI/Temperature/Value".
For more detail about process, refer to chapter 5 "Packet Data Processing with Python (optional)" chapter.
GATEWAY_ID:
ID of the gateway.
DEVEUI:
Device ID (identifies uniquely the device)
DEVTYPE:
The type of the device (device_type_X in lora-agent.conf)
FPORT:
Correspond to the frame port field extracted from the LoRaWAN™ frame received
/Kontron/TRACe/GATEWAY_ID/Lora/DEVTYPE/DEVEUI/FPORT.
It is used to have the possibility to see the decrypted p the message after python process (when python
process is enable)
Example: A push button (Note that gateway ID is 123456789 for the example)
If python process is enable for the device 0e7e346433306021
Topic:
"/Kontron/TRACe/123456789/Lora/PB868LRH/0e7e346433306021/Event "
Message
"Button Pushed; ;1070"
If the python process is not enable for the device 0e7e346433306021
Topic:
"/Kontron/TRACe/123456789/Lora/PB868LRH/0e7e346433306021/28/ "
Message:
"01042e"
(0x01 is the flag for "button pushed" and 0x042e means that the button was
pushed 1070 times)
Содержание Kontron TRACe-LP1
Страница 1: ...USER GUIDE www kontron com Kontron TRACe LP1 Gateway SD DT G74 7e February 2019 ...
Страница 6: ...Kontron TRACe LP1 Gateway User Guide SD DT G74 7e www kontron com 6 ...
Страница 21: ...Kontron TRACe LP1 Gateway User Guide SD DT G74 7e www kontron com 21 ...
Страница 29: ...Kontron TRACe LP1 Gateway User Guide SD DT G74 7e www kontron com 29 ...