英文:
How to receive data from LoRa App server?
问题
我从LoRa节点收集数据,然后网关将其转发到LoRa服务器,最后将数据发送到LoRa应用服务器。但是我找不到以下接口。
(https://docs.loraserver.io/lora-app-server/integrate/data/)
点击这里查看图片描述
英文:
I collect data from the LoRa node, and then gateway forward to lora server, at last, the data to the lora app server. but i cannot find the following interface.
(https://docs.loraserver.io/lora-app-server/integrate/data/)
enter image description here
答案1
得分: 1
你需要实现一个MQTT客户端(或者使用命令行客户端,比如mosquitto_sub,如https://docs.loraserver.io/lora-app-server/integrate/data/中所建议的),然后订阅指定节点的接收主题。你发布的图片不是一个界面,而是一个节点通过主题发送的示例消息。对于给定的情况,appID是"123",devEUI是"0202020202020202",所以你需要订阅以下主题以获取来自节点的消息:
application/123/node/0202020202020202/rx
正如前面所说,你可以通过MQTT客户端(不同语言有很多客户端可供选择)或者通过命令行消费这些消息。
英文:
You need to implement a MQTT client (or user a command-line one, like mosquitto_sub, as suggested in https://docs.loraserver.io/lora-app-server/integrate/data/) and then subscribe to the receiving topic for the specified node. The image you posted is not an interface but an example message a node will send through the topic. For the case given, appID is "123" and devEUI is "0202020202020202", so you need to subscribe to the following topic to get messages from the node:
application/123/node/0202020202020202/rx
As said, you may consume the messages through a MQTT client (there are plenty of clients for different languages), or from the command line.
答案2
得分: 0
只更新当前版本。
全局集成
全局集成通过lora-app-server.toml配置文件进行配置,并且在全局范围内启用。这意味着对于每个配置的应用程序,将使用此/这些集成进行发布。
以下集成可用:
MQTT
AWS简单通知服务
Azure服务总线
Google Cloud Platform Pub/Sub
应用程序集成
除了全局启用的集成外,还可以为每个应用程序设置集成。
以下集成可用:
HTTP
InfluxDB
英文:
Just updating from current versions.
Global integrations
Global integrations are configured through the lora-app-server.toml configuration file and are globally enabled. This means that for every application configured, the application will be published using this / these integration(s).
The following integrations are available:
MQTT
AWS Simple Notification Service
Azure Service Bus
Google Cloud Platform Pub/Sub
Application integrations
Additional to the globally enabled integrations, it is also possible to set up integrations per application.
The following integrations are available:
HTTP
InfluxDB
From: loraserver.io
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论