没有合适的资源?快使用搜索试试~ 我知道了~
首页LORAWAN 1.0.3
LORAWAN 1.0.3
需积分: 50 28 下载量 63 浏览量
更新于2023-03-16
评论
收藏 1.16MB PDF 举报
最新lorawan协议,LORAWAN1.0.3 规范,学习lora技术可下载。
资源详情
资源评论
资源推荐
©2018 LoRa™ Alliance
Page 1 of 72
The authors reserve the right to change
specifications without notice.
LoRaWAN™ 1.0.3 Specification
1
Copyright © 2018 LoRa Alliance, Inc. All rights reserved.
2
3
NOTICE OF USE AND DISCLOSURE
4
Copyright © LoRa Alliance, Inc. (2017). All Rights Reserved.
5
6
The information within this document is the property of the LoRa Alliance (“The Alliance”) and its use and disclosure are
7
subject to LoRa Alliance Corporate Bylaws, Intellectual Property Rights (IPR) Policy and Membership Agreements.
8
9
Elements of LoRa Alliance specifications may be subject to third party intellectual property rights, including without
10
limitation, patent, copyright or trademark rights (such a third party may or may not be a member of LoRa Alliance). The
11
Alliance is not responsible and shall not be held responsible in any manner for identifying or failing to identify any or all
12
such third party intellectual property rights.
13
14
This document and the information contained herein are provided on an “AS IS” basis and THE ALLIANCE DISCLAIMS
15
ALL WARRANTIES EXPRESS OR IMPLIED, INCLUDING BUT NOTLIMITED TO (A) ANY WARRANTY THAT
16
THE USE OF THE INFORMATION HEREINWILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES
17
(INCLUDING WITHOUTLIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT,
18
COPYRIGHT OR TRADEMARK RIGHTS) OR (B) ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
19
FITNESS FOR A PARTICULAR PURPOSE,TITLE OR NONINFRINGEMENT.
20
21
IN NO EVENT WILL THE ALLIANCE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF BUSINESS, LOSS OF
22
USE OF DATA, INTERRUPTION OFBUSINESS, OR FOR ANY OTHER DIRECT, INDIRECT, SPECIAL OR
23
EXEMPLARY, INCIDENTIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONTRACT OR
24
IN TORT, IN CONNECTION WITH THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF
25
ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
26
27
28
The above notice and this paragraph must be included on all copies of this document that are made.
29
30
LoRa Alliance, Inc.
31
3855 SW 153rd Drive
32
Beaverton, OR 97007
33
34
Note: All Company, brand and product names may be trademarks that are the sole property of their respective owners.
35
36
37
38
LoRaWAN 1.0.3 Specification
©2018 LoRa™ Alliance
Page 2 of 72
The authors reserve the right to change
specifications without notice.
39
40
LoRaWAN™ 1.0.3 Specification
41
42
Authored by the LoRa Alliance Technical Committee
43
44
Chairs:
45
N.SORNIN (Semtech), A.YEGIN(Actility)
46
Editor:
47
N.SORNIN(Semtech)
48
Contributors:
49
A.BERTOLAUD (Gemalto), J.CATALANO (Kerlink), J.DELCLEF (ST Microelectronics),
50
V.DELPORT (Microchip Technology), P.DUFFY (Cisco), F.DYDUCH (Bouygues Telecom),
51
T.EIRICH (TrackNet), L.FERREIRA (Orange), S.GHAROUT(Orange), O.HERSENT
52
(Actility), A.KASTTET (Homerider Systems), D.KJENDAL (Senet), V.KLEBAN (Everynet),
53
J.KNAPP (TrackNet), T.KRAMP (TrackNet), M.KUYPER (TrackNet), P.KWOK (Objenious),
54
M.LEGOURIEREC (Sagemcom), C.LEVASSEUR (Bouygues Telecom), M.LUIS (Semtech),
55
M.PAULIAC (Gemalto), P.PIETRI (Orbiwise), D.SMITH (MultiTech), R.SOSS(Actility),
56
T.TASHIRO (M2B Communications), P.THOMSEN (Orbiwise), A.YEGIN (Actility)
57
58
Version: 1.0.3
59
Date: July 2018
60
Status: Released
61
62
63
64
LoRaWAN 1.0.3 Specification
©2018 LoRa™ Alliance
Page 3 of 72
The authors reserve the right to change
specifications without notice.
Contents
65
1 Introduction ....................................................................................................................... 7
66
1.1 LoRaWAN Classes ....................................................................................................... 7
67
1.2 Conventions .................................................................................................................. 8
68
2 Introduction on LoRaWAN options ................................................................................... 9
69
2.1 LoRaWAN Classes ....................................................................................................... 9
70
2.2 Specification scope..................................................................................................... 10
71
Class A – All end-devices ........................................................................................................ 11
72
3 Physical Message Formats ............................................................................................ 12
73
3.1 Uplink Messages ........................................................................................................ 12
74
3.2 Downlink Messages.................................................................................................... 12
75
3.3 Receive Windows ....................................................................................................... 12
76
3.3.1 First receive window channel, data rate, and start .............................................. 13
77
3.3.2 Second receive window channel, data rate, and start ......................................... 13
78
3.3.3 Receive window duration ..................................................................................... 13
79
3.3.4 Receiver activity during the receive windows ...................................................... 13
80
3.3.5 Network sending a message to an end-device .................................................... 13
81
3.3.6 Important notice on receive windows ................................................................... 14
82
3.3.7 Receiving or transmitting other protocols ............................................................. 14
83
4 MAC Message Formats .................................................................................................. 15
84
4.1 MAC Layer (PHYPayload).......................................................................................... 15
85
4.2 MAC Header (MHDR field) ......................................................................................... 15
86
4.2.1 Message type (MType bit field) ............................................................................ 16
87
4.2.2 Major version of data message (Major bit field) ................................................... 16
88
4.3 MAC Payload of Data Messages (MACPayload) ...................................................... 16
89
4.3.1 Frame header (FHDR).......................................................................................... 17
90
4.3.2 Port field (FPort) ................................................................................................... 20
91
4.3.3 MAC Frame Payload Encryption (FRMPayload) ................................................. 20
92
4.4 Message Integrity Code (MIC) ................................................................................... 21
93
5 MAC Commands ............................................................................................................ 22
94
5.1 Link Check commands (LinkCheckReq, LinkCheckAns) .......................................... 23
95
5.2 Link ADR commands (LinkADRReq, LinkADRAns) .................................................. 24
96
5.3 End-Device Transmit Duty Cycle (DutyCycleReq, DutyCycleAns) ........................... 26
97
5.4 Receive Windows Parameters (RXParamSetupReq, RXParamSetupAns).............. 26
98
5.5 End-Device Status (DevStatusReq, DevStatusAns) ................................................. 27
99
5.6 Creation / Modification of a Channel (NewChannelReq, NewChannelAns,
100
DlChannelReq, DlChannelAns).................................................................................. 28
101
5.7 Setting delay between TX and RX (RXTimingSetupReq, RXTimingSetupAns) ....... 30
102
5.8 End-device transmission parameters (TxParamSetupReq, TxParamSetupAns) ..... 30
103
5.9 DeviceTime commands (DeviceTimeReq, DeviceTimeAns)..................................... 31
104
6 End-Device Activation .................................................................................................... 33
105
6.1 Data Stored in the End-device after Activation .......................................................... 33
106
6.1.1 End-device address (DevAddr) ............................................................................ 33
107
6.1.2 Application identifier (AppEUI) ............................................................................. 33
108
6.1.3 Network session key (NwkSKey) ......................................................................... 33
109
6.1.4 Application session key (AppSKey) ..................................................................... 33
110
6.2 Over-the-Air Activation ............................................................................................... 34
111
6.2.1 End-device identifier (DevEUI) ............................................................................. 34
112
6.2.2 Application key (AppKey) ..................................................................................... 34
113
6.2.3 Join procedure ...................................................................................................... 34
114
6.2.4 Join-request message .......................................................................................... 34
115
6.2.5 Join-accept message............................................................................................ 35
116
LoRaWAN 1.0.3 Specification
©2018 LoRa™ Alliance
Page 4 of 72
The authors reserve the right to change
specifications without notice.
6.3 Activation by Personalization ..................................................................................... 37
117
7 Retransmissions back-off ............................................................................................... 38
118
Class B – Beacon .................................................................................................................... 39
119
8 Introduction to Class B ................................................................................................... 40
120
9 Principle of synchronous network initiated downlink (Class-B option) .......................... 41
121
10 Uplink frame in Class B mode ........................................................................................ 43
122
11 Downlink Ping frame format (Class B option) ................................................................ 44
123
11.1 Physical frame format ................................................................................................. 44
124
11.2 Unicast & Multicast MAC messages .......................................................................... 44
125
11.2.1 Unicast MAC message format.............................................................................. 44
126
11.2.2 Multicast MAC message format ........................................................................... 44
127
12 Beacon acquisition and tracking .................................................................................... 45
128
12.1 Minimal beacon-less operation time .......................................................................... 45
129
12.2 Extension of beacon-less operation upon reception.................................................. 45
130
12.3 Minimizing timing drift ................................................................................................. 45
131
13 Class B Downlink slot timing .......................................................................................... 47
132
13.1 Definitions ................................................................................................................... 47
133
13.2 Slot randomization ...................................................................................................... 48
134
14 Class B MAC commands ............................................................................................... 49
135
14.1 PingSlotInfoReq .......................................................................................................... 49
136
14.2 BeaconFreqReq ......................................................................................................... 50
137
14.3 PingSlotChannelReq .................................................................................................. 51
138
14.4 BeaconTimingReq & BeaconTimingAns .................................................................... 52
139
15 Beaconing (Class B option) ............................................................................................ 53
140
15.1 Beacon physical layer ................................................................................................ 53
141
15.2 Beacon frame content ................................................................................................ 53
142
15.3 Beacon GwSpecific field format ................................................................................. 54
143
15.3.1 Gateway GPS coordinate:InfoDesc = 0, 1 or 2 .................................................... 55
144
15.3.2 NetID+GatewayID................................................................................................. 55
145
15.4 Beaconing precise timing ........................................................................................... 55
146
15.5 Network downlink route update requirements ........................................................... 56
147
16 Class B unicast & multicast downlink channel frequencies ........................................... 57
148
16.1 Single channel beacon transmission ......................................................................... 57
149
16.2 Frequency-hopping beacon transmission .................................................................. 57
150
Class C – Continuously listening ............................................................................................. 58
151
17 Class C: Continuously listening end-device ................................................................... 59
152
17.1 Second receive window duration for Class C ............................................................ 59
153
17.2 Class C Multicast downlinks ....................................................................................... 60
154
Support information.................................................................................................................. 61
155
18 Examples and Application Information........................................................................... 62
156
18.1 Uplink Timing Diagram for Confirmed Data Messages ............................................. 62
157
18.2 Downlink Diagram for Confirmed Data Messages ..................................................... 62
158
18.3 Downlink Timing for Frame-Pending Messages ........................................................ 63
159
18.4 Data-Rate Adaptation during Message Retransmissions .......................................... 64
160
19 Recommendation on contract to be provided to the network server by the end-
161
device provider at the time of provisioning .............................................................................. 66
162
20 Recommendation on finding the locally used channels ................................................ 67
163
21 Revisions ........................................................................................................................ 68
164
21.1 Revision 1.0 ................................................................................................................ 68
165
21.2 Revision 1.0.1 ............................................................................................................. 68
166
21.3 Revision 1.0.2 ............................................................................................................. 68
167
21.4 Revision 1.0.3 ............................................................................................................. 69
168
22 Glossary .......................................................................................................................... 70
169
LoRaWAN 1.0.3 Specification
©2018 LoRa™ Alliance
Page 5 of 72
The authors reserve the right to change
specifications without notice.
23 Bibliography .................................................................................................................... 71
170
23.1 References ................................................................................................................. 71
171
24 NOTICE OF USE AND DISCLOSURE .......................................................................... 72
172
173
Tables
174
Table 1: PHY payload format .................................................................................................. 15
175
Table 2: MAC message types ................................................................................................. 16
176
Table 3: Major list ..................................................................................................................... 16
177
Table 4: FPort list ..................................................................................................................... 21
178
Table 5: MAC commands ........................................................................................................ 23
179
Table 6: Channel state table .................................................................................................... 24
180
Table 7: LinkADRAns status bits signification ......................................................................... 26
181
Table 8: RX2SetupAns status bits signification....................................................................... 27
182
Table 9: Battery level decoding ............................................................................................... 27
183
Table 10: NewChannelAns status bits signification ................................................................ 29
184
Table 11: DlChannelAns status bits signification .................................................................... 30
185
Table 12: Del mapping table .................................................................................................... 30
186
Table 13: Beacon timing .......................................................................................................... 47
187
Table 14 : Class B slot randomization algorithm parameters ................................................. 48
188
Table 15 : Class B MAC command table ................................................................................ 49
189
Table 16 : beacon infoDesc index mapping ............................................................................ 54
190
191
Figures
192
Figure 1: LoRaWAN Classes ..................................................................................................... 9
193
Figure 2: Uplink PHY structure ................................................................................................ 12
194
Figure 3: Downlink PHY structure ........................................................................................... 12
195
Figure 4: End-device receive slot timing. ................................................................................ 13
196
Figure 5: Radio PHY structure (CRC* is only available on uplink messages) ....................... 15
197
Figure 6: PHY payload structure ............................................................................................. 15
198
Figure 7: MAC payload structure ............................................................................................. 15
199
Figure 8: Frame header structure ............................................................................................ 15
200
Figure 9: LoRa message format elements .............................................................................. 15
201
Figure 11 : DeviceTimeAns payload format ............................................................................ 32
202
Figure 12: Beacon reception slot and ping slots ..................................................................... 42
203
Figure 13 : class B FCtrl fields ................................................................................................. 43
204
Figure 14 : beacon-less temporary operation ......................................................................... 45
205
Figure 15: Beacon timing ......................................................................................................... 47
206
Figure 16 : PingSlotInfoReq payload format ........................................................................... 49
207
Figure 17 : BeaconFreqReq payload format ........................................................................... 50
208
Figure 18 : BeaconFreqAns payload format ........................................................................... 50
209
Figure 19 : PingSlotChannelReq payload format .................................................................... 51
210
Figure 20 : PingSlotFreqAns payload format .......................................................................... 51
211
Figure 21 : beacon physical format ......................................................................................... 53
212
Figure 22 : beacon frame content............................................................................................ 53
213
Figure 23 : example of beacon CRC calculation (1) ............................................................... 53
214
Figure 24 : example of beacon CRC calculation (2) ............................................................... 54
215
Figure 25 : beacon GwSpecific field format ............................................................................ 54
216
剩余71页未读,继续阅读
sharess234
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0