Lora Tech Intro PDF
Lora Tech Intro PDF
A Technical Introduction
LoRa-Alliance.org
Who are the LoRa Alliance?
The LoRa Alliance is an open, non-profit association of
members (http://lora-alliance.org/)
Alliance members collaborate to drive the global success of
the LoRaWAN protocol
Mission: to standardize Low Power Wide Area Networks
ENABLING THINGS TO HAVE A GLOBAL VOICE
Strategy Committee Technical Committee
Roadmap & Security Specification & feature
updates
Marketing Committee Certification
Brand, Media, Trade-shows, Committee
Open House Test Specs & Accreditation LoRa-Alliance.org
Specification Updates
LoraWAN 1.0.0 -> 1.0.1 -> 1.0.2 -> 1.1
LoRa-Alliance.org
0 1 2 3 4 5 6 7 Data Rate (DR)
LoRa Modulation FSK
Range
12 11 10 9 8 7 7 -- Spreading Factor (SF)
125 125 125 --
125 125 125 250 50K Bandwidth (BW) (kHz)
10937
Bitrate (BR) (bps)
5468
-108
3125
-120
537
976 1757 -123 Receive Sensitivity (dBm)
292 -126
-129
-133 -132
-136 Time-on-air & consumption
LoRa-Alliance.org
ADR = Adaptive Data Rate
LoRaWAN can auto-magically manage SF for each
end-device:
To optimize for fastest data rate versus range
For maximize battery life, and
Achieves maximum network capacity
LoRa-Alliance.org
License free Sub-GHz Frequencies
Europe: 868 MHz Band
Network channels can be freely attributed by the network
operator
3 mandatory channels that all gateways should constantly receive:
LoRa-Alliance.org
Low Power Wide Area Network (LPWAN)
Bidirectional, acknowledged
Simple Star Network Topology Enables simpler network
Low data rate architecture:
Low cost No repeaters
Long battery life
No mesh routing complexity
Long Range
Ideal for:
Internet of Things (IoT) & Machine-to-Machine (M2M)
Industrial Automation
Low Power Applications
Battery Operated Sensors
Smart City, Agriculture, Metering, Street lighting
http://lora-alliance.org/What-Is-LoRa/Technology
LoRa-Alliance.org
LoRaWAN Network Topology
Gateways Network Application
Server Servers
Sub-GHz RF
LoRa-Alliance.org
LoRaWAN Network Protocol Security
Based on 802.15.4 Security
AES-128
Enhancements:
Network Session Key (NwkSKey)
Application Session Key (AppSKey)
LoRa-Alliance.org
Logical Data Flow (Programmers Model)
End-Devices
Gateway Network Application
Server Server
IP IP
Sub-GHz RF
Control Network Session Key (NwkSKey) Control
LoRa-Alliance.org
Each end-device class has different behavior
depending on the choice of optimization:
Battery Powered Class A
Low Latency Class B
No Latency Class C
LoRa-Alliance.org
Battery Powered Class A
Bidirectional communications
Unicast messages
Small payloads, long intervals
End-device initiates communication (uplink)
Server communicates with end-device (downlink) during
predetermined response windows:
Transmit RX1 RX2
RxDelay1
RxDelay2
LoRa-Alliance.org
Low Latency Class B
Bidirectional with scheduled receive slots
Unicast and Multicast messages
Small payloads, long intervals
Periodic beacon from gateway
Extra receive window (ping slot)
Server can initiate transmission at fixed intervals
BCN PNG Transmit RX1 RX2 BCN
RxDelay1
RxDelay2
Ping Slot
Beacon Period
LoRa-Alliance.org
No Latency Class C
Bidirectional communications
Unicast and Multicast messages
Small payloads
Server can initiate transmission at any time
End-device is constantly receiving
Transmit RX2 RX1 RX2
RxDelay1
RxDelay2
Extends RX2 until next TX
LoRa-Alliance.org
Before an end-device can communicate on the LoRaWAN
network, it must be activated
The following information is required:
Device Address (DevAddr)
Network Session Key (NwkSKey)
Application Session Key (AppSKey)
LoRa-Alliance.org
Application Session Key (AppSKey)
128-bit AES encryption key
Unique per end-device
Shared between End-device and Application Server
Used to encrypt / decrypt application data messages
Provides security for application payload
LoRa-Alliance.org
To exchange this information, two activation methods are
available:
Over-the-Air Activation (OTAA) Activation By Personalization (ABP)
Based on Globally Unique Identifier Shared keys stored at production time
Over the air message handshaking Locked to a specific network
LoRa-Alliance.org
Over-the-Air-Activation (OTAA)
End-device transmits Join Request to application server
containing:
Globally unique end-device identifier (DevEUI)
Application identifier (AppEUI)
Authentication with Application key (AppKey)
End-device receives Join Accept from application server
(continued)
LoRa-Alliance.org
Over-the-Air-Activation (OTAA)
End-device authenticates Join Accept
End-device decrypts Join Accept
End-device extracts and stores Device Address (DevAddr)
End-device derives:
Network Session Key (NwkSKey) Security
Application Session Key (AppSKey) Keys
LoRa-Alliance.org
Activation By Personalization (ABP)
The following information is configured at production time:
Device Address (DevAddr)
Network Session Key (NwkSKey)
Application Session Key (AppSKey)
LoRa-Alliance.org
Confirmed-Data Message
Gateways Network Application
Server Servers
Data
ACK
Data
Data
Zzzz
DL
DL
LoRa-Alliance.org
Application Server Data Message
Gateways Network Application
Server Servers
UL
DL
DL
UL
UL
LoRa-Alliance.org