Document

TS001-1.0.4 LoRaWAN® L2 1.0.4 Specification

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

Contents of this Issue

Navigation

Page 2 of 89

LoRaWAN ® L2 1.0.4 Specification © 2020 LoRa Alliance ® Page 3 of 90 The authors reserve the right to change specifications without notice. Contents 73 1 Introduction .................................................................................................................. 7 74 1.1 Conventions ............................................................................................................. 8 75 2 Introduction to LoRaWAN Options ............................................................................... 9 76 2.1 LoRaWAN Classes .................................................................................................. 9 77 Class A – All end-devices ................................................................................................... 11 78 3 Physical Packet Formats ............................................................................................ 12 79 3.1 Uplink Packets ....................................................................................................... 12 80 3.2 Downlink Packets ................................................................................................... 12 81 3.3 Receive Windows................................................................................................... 12 82 3.3.1 Receiver activity during receive windows.......................................................... 12 83 3.3.2 First receive-window channel, data rate, and start ............................................ 13 84 3.3.3 Second receive window channel, data rate, and start ....................................... 13 85 3.3.4 Receive window duration .................................................................................. 13 86 3.3.5 Network transmitting to an end-device .............................................................. 13 87 3.3.6 Important notice regarding receive windows ..................................................... 13 88 3.3.7 Receiving or transmitting other protocols .......................................................... 14 89 4 MAC Frame Formats ................................................................................................. 15 90 4.1 PHY Payload (PHYPayload) ................................................................................. 15 91 4.2 MAC Header (MHDR field) ....................................................................................... 16 92 4.2.1 Frame types (FType bit field) ........................................................................... 16 93 4.2.2 Major data frame version (Major bit field) ........................................................ 17 94 4.3 MAC Payload of Data Frames (MACPayload) ....................................................... 17 95 4.3.1 Frame header (FHDR) ....................................................................................... 17 96 4.3.2 Port field (FPort) ............................................................................................. 23 97 4.3.3 MAC frame payload encryption (FRMPayload) ................................................ 24 98 4.4 Message Integrity Code (MIC)................................................................................ 25 99 5 MAC Commands........................................................................................................ 26 100 5.1 Link Check Commands (LinkCheckReq, LinkCheckAns) ....................................... 29 101 5.2 Link ADR Commands (LinkADRReq, LinkADRAns) ............................................... 29 102 5.3 End-Device Transmit Duty Cycle (DutyCycleReq, DutyCycleAns) .......................... 32 103 5.4 Receive Windows Parameters (RXParamSetupReq, RXParamSetupAns) ............ 33 104 5.5 End-Device Status (DevStatusReq, DevStatusAns) ............................................... 35 105 5.6 Creation / Modification of a Channel (NewChannelReq, NewChannelAns, 106 DlChannelReq, DlChannelAns) .............................................................................. 36 107 5.7 Setting Delay between TX and RX (RXTimingSetupReq, RXTimingSetupAns) ...... 39 108 5.8 End-Device Transmit Parameters (TXParamSetupReq, TXParamSetupAns) ........ 40 109 5.9 End-Device Time Commands (DeviceTimeReq, DeviceTimeAns) ......................... 41 110 6 End-Device Activation ................................................................................................ 42 111 6.1 Data Stored in End-Device after Activation ............................................................ 42 112 6.1.1 End-device address (DevAddr)........................................................................ 42 113 6.1.2 Network session key (NwkSKey) ...................................................................... 43 114 6.1.3 Application session key (AppSKey) .................................................................. 43 115 6.2 Over-the-Air Activation ........................................................................................... 43 116 6.2.1 End-device identifier (DevEUI) ......................................................................... 44 117 6.2.2 Join-Server identifier (JoinEUI) ...................................................................... 44 118 6.2.3 Application key (AppKey) ................................................................................. 44 119 6.2.4 Join procedure.................................................................................................. 44 120 6.2.5 Join-Request frame .......................................................................................... 45 121 6.2.6 Join-Accept frame ............................................................................................ 45 122 6.2.7 Join procedure completion for Class C ............................................................. 47 123

Articles in this issue

view archives of Document - TS001-1.0.4 LoRaWAN® L2 1.0.4 Specification