LoRa网关与服务器通信——PROTOCOL

一、PROTOCOL文档消息类型介绍

官话 Basic communication protocol between Lora gateway and server

此文档定义了LoRa网关与服务器之间的通信协议
  1. Introduction
    The protocol between the gateway and the server is purposefully very basic and
    for demonstration purpose only, or for use on private and reliable networks.
    重点词汇:private 由此可见LoRa网关在私有网络部署环境是有可用价值的。

  2. Upstream protocol (跳着讲是因为我不会)

    1. PUSH_DATA packet 网关通过IP协议传送至NS端,属于上行链路网关至NS段。该包的数据结构如下:

      0 : protocol version = 2 一个字节的协议版本号
      1-2 : random token 两个字节的随机Token
      3 : PUSH_DATA identifier 0x00 一个字节的消息ID
      4-11 : Gateway unique identifier (MAC address) 八个字节的网关ID
      12-end : JSON object, starting with {, ending with } 其余的为JSON格式的消息体

      json
      {
      	"rxpk":[ {
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值