Document

LoRaWAN® Specification v1.1

Issue link: https://read.uberflip.com/i/1428365

Contents of this Issue

Navigation

Page 2 of 100

LoRaWAN 1.1 Specification ©2017 LoRa Alliance™ Page 3 of 101 The authors reserve the right to change specifications without notice. Contents 68 1 Introduction .................................................................................................................. 8 69 1.1 LoRaWAN Classes .................................................................................................. 8 70 1.2 Conventions ............................................................................................................. 9 71 2 Introduction on LoRaWAN options ............................................................................. 10 72 2.1 LoRaWAN Classes ................................................................................................ 10 73 Class A – All end-devices ................................................................................................... 11 74 3 Physical Message Formats ........................................................................................ 12 75 3.1 Uplink Messages .................................................................................................... 12 76 3.2 Downlink Messages ............................................................................................... 12 77 3.3 Receive Windows................................................................................................... 13 78 3.3.1 First receive window channel, data rate, and start ............................................ 14 79 3.3.2 Second receive window channel, data rate, and start ....................................... 14 80 3.3.3 Receive window duration .................................................................................. 14 81 3.3.4 Receiver activity during the receive windows .................................................... 14 82 3.3.5 Network sending a message to an end-device ................................................. 14 83 3.3.6 Important notice on receive windows ................................................................ 14 84 3.3.7 Receiving or transmitting other protocols .......................................................... 15 85 4 MAC Message Formats ............................................................................................. 16 86 4.1 MAC Layer (PHYPayload) ...................................................................................... 16 87 4.2 MAC Header (MHDR field) ..................................................................................... 17 88 4.2.1 Message type (MType bit field) ......................................................................... 17 89 4.2.2 Major version of data message (Major bit field) ................................................ 18 90 4.3 MAC Payload of Data Messages (MACPayload) .................................................... 18 91 4.3.1 Frame header (FHDR) ...................................................................................... 18 92 4.3.2 Port field (FPort) ............................................................................................... 24 93 4.3.3 MAC Frame Payload Encryption (FRMPayload) ............................................... 25 94 4.4 Message Integrity Code (MIC)................................................................................ 26 95 4.4.1 Downlink frames ............................................................................................... 26 96 4.4.2 Uplink frames ................................................................................................... 27 97 5 MAC Commands........................................................................................................ 29 98 5.1 Reset indication commands (ResetInd, ResetConf) ............................................... 32 99 5.2 Link Check commands (LinkCheckReq, LinkCheckAns) ........................................ 33 100 5.3 Link ADR commands (LinkADRReq, LinkADRAns) ................................................ 33 101 5.4 End-Device Transmit Duty Cycle (DutyCycleReq, DutyCycleAns) .......................... 35 102 5.5 Receive Windows Parameters (RXParamSetupReq, RXParamSetupAns) ............ 36 103 5.6 End-Device Status (DevStatusReq, DevStatusAns) ............................................... 37 104 5.7 Creation / Modification of a Channel (NewChannelReq, NewChannelAns, 105 DlChannelReq, DlChannelAns) .............................................................................. 38 106 5.8 Setting delay between TX and RX (RXTimingSetupReq, RXTimingSetupAns) ...... 40 107 5.9 End-device transmission parameters (TxParamSetupReq, TxParamSetupAns) .... 41 108 5.10 Rekey indication commands (RekeyInd, RekeyConf) ............................................. 42 109 5.11 ADR parameters (ADRParamSetupReq, ADRParamSetupAns) ............................ 43 110 5.12 DeviceTime commands (DeviceTimeReq, DeviceTimeAns) ................................... 44 111 5.13 Force Rejoin Command (ForceRejoinReq)............................................................. 44 112 5.14 RejoinParamSetupReq (RejoinParamSetupAns) ................................................... 45 113 6 End-Device Activation ................................................................................................ 47 114 6.1 Data Stored in the End-device................................................................................ 47 115 6.1.1 Before Activation .............................................................................................. 47 116 6.1.2 After Activation ................................................................................................. 49 117 6.2 Over-the-Air Activation ........................................................................................... 52 118

Articles in this issue

view archives of Document - LoRaWAN® Specification v1.1