Document

LoRaWAN® Specification v1.0.3

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

Contents of this Issue

Navigation

Page 2 of 71

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

Articles in this issue

view archives of Document - LoRaWAN® Specification v1.0.3