没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
1. Preface
This paper is goes into depth regarding the MAC Commands used for LoRaWAN® network
administration. It is aimed at end device software developers and managers of teams building
devices with LoRa® that implement the LoRaWAN Link Layer Specification v1.0.4. This paper helps
you gain an understanding of different types of MAC commands, what each command is used for,
and how to interpret the commands.
Already using software such as LoRaMAC-Node to handle MAC commands? This article
gives you the background you need to understand how the software is working, review the
code, and gain confidence that your end device is following the standards and best practices
defined in the LoRaWAN Link Layer Specification.
2.Sending and Receiving MAC Commands
MAC commands are sent from the network server to the end device in downlinks, or
from the end device to the network server in uplinks.
There are two methods which can be used to send MAC commands: either inside the
Frame Options (FOpts) field at the same time as other data is sent inside the Frame Payload
(FRMPayload), or as a separate packet using the entire Frame Payload.
When MAC commands are sent with other data in a packet (also referred to as
piggybacking), the Frame Options Length (FOptsLen) field in the MAC payload are set to a
value greater than zero (0). The MAC commands themselves are sent in the FOpts field in the
Frame Header. The commands in the FOpts field are not encrypted in LoRaWAN 1.0.x.
3. MAC commands sent with a regular data downlink
When MAC commands are sent in a separate packet, the Frame Port (FPort) field in the
MAC payload is set to 0. The FRMPayload field in the MAC payload contains the MAC
commands. The FOpts field in the Frame Header are absent. The FOptsLen field in the Frame
Control is also set to 0, and the FRMPayload field must be encrypted as described in the
section 4.3.3 MAC frame payload encryption (FRMPayload) in the LoRaWAN Link Layer
Specification 1.0.4.
资源评论
珞瑜·
- 粉丝: 10w+
- 资源: 500
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功