LoRaWAN

term

networkingISP & telecom

Kept in this browser · My desk

The LoRa Alliance's network specification for low-power wide-area networks: battery devices send short messages over LoRa radio in unlicensed bands to any gateway in range, and gateways pass them to a network server that deduplicates and delivers them to applications. Brazil uses the AU915-928 channel plan.

LoRaWAN is the network layer; LoRa is the radio underneath (the existing LoRa entry covers the modulation). The Alliance claims up to 15 km of range in rural areas and more than ten years of battery. In Brazil it runs in the licence-exempt 902 to 907.5 and 915 to 928 MHz bands under Anatel's restricted-radiation rules of 2017.

The architecture. End devices transmit; every gateway that hears a frame forwards it; a network server removes duplicates and routes the data to application servers. The LoRa Alliance describes the specification as targeting bidirectional communication, end-to-end security, mobility and localization, and lists later features such as firmware updates over the air, multicast and relays. The Things Network (TTN) documentation spells out the roles: access is ALOHA-like, so a device never pairs with a particular gateway; gateways are simple packet forwarders with a backhaul over cellular, Wi-Fi, Ethernet or fibre; the network server checks each message's integrity, deduplicates uplinks, picks the best gateway for a downlink, answers medium access control (MAC) commands and drives adaptive data rate; a join server, introduced with version 1.1 and present in 1.0.4, handles activation and root keys.

The standard and its status. The specification belongs to the LoRa Alliance; versions 1.0.x and 1.1 are both in use, and TTN documents the differences between them. In November 2021 the International Telecommunication Union (ITU) approved, through its Telecommunication Standardization Sector (ITU-T), Recommendation Y.4480, Low power protocol for wide area wireless networks, under Study Group 20; its summary states that it is technically equivalent to and compatible with LoRaWAN 1.0.4. The Alliance announced it on 7 December 2021, and Semtech called it the first low-power wide-area network (LPWAN) standard transposed into an ITU-T Recommendation, with the Alliance's intellectual property policy aligned so that ITU members can obtain royalty-free "implementer" status.

The frame. A data message carries a frame header of 7 to 22 bytes (a 4-byte device address, DevAddr; a control byte; a 2-byte frame counter; up to 15 bytes of piggybacked MAC commands), an optional port byte and the payload. Port 0 means the payload holds only MAC commands, ports 1 to 223 carry application data and port 224 is reserved for the test protocol; the maximum payload depends on region and data rate. In version 1.0.x the piggybacked MAC commands travel unencrypted; version 1.1 encrypts them with a separate network key.

Device classes. Every device supports Class A: after each uplink it opens two short receive windows, RX1 and RX2, and otherwise sleeps, so the server can reach it only right after it speaks. Class B adds ping slots timed by beacons broadcast through the gateways, for meters and street lights that need downlinks on a schedule. Class C keeps RX2 open almost all the time, for mains-powered actuators that must react at once.

The radio budget. The LoRa physical layer is chirp spread spectrum and trades rate for reach: spreading factors run from SF7 to SF12, each step halving the bit rate and lengthening time on air, and signals with different spreading factors on the same channel do not interfere. In Meshtastic's presets the raw rate runs from 0.34 to 21.88 kbit/s, and each doubling of bandwidth costs almost 3 dB of link budget. With adaptive data rate (ADR) the network tells each device which spreading factor, bandwidth and power to use; TTN advises it for static devices and warns to suspend it when conditions are unstable, as when a car parks on a parking sensor. The Alliance's own figures, up to 15 km rural and more than ten years on a battery, are claims, not measurements.

Security. LoRaWAN 1.0 uses three 128-bit Advanced Encryption Standard (AES) keys. In over-the-air activation (OTAA) the device sends a Join-request in clear and receives a Join-accept encrypted with its AppKey, from which fresh session keys are derived: the network session key (NwkSKey) checks a message integrity code computed with AES-CMAC (cipher-based message authentication code), and the application session key (AppSKey) encrypts the payload all the way to the application server, so a network operator that does not run that server cannot read it. Frame counters (FCntUp, FCntDown) defeat replays by rejecting any counter lower than the last one.

In Brazil. The Things Network lists Brazil under the AU915-928 channel plan, citing Anatel (Agência Nacional de Telecomunicações) Resolution 680 of 27 June 2017 (article 10) and Act 14,448 of 4 December 2017 (section 10.3). TTN's own AU915 plan uses only the second sub-band: eight uplink channels from 916.8 to 918.2 MHz at 125 kHz plus 917.5 MHz at 500 kHz, downlinks from 923.3 to 927.5 MHz at 500 kHz, and a second receive window on 923.3 MHz at SF12; devices must be programmed for those channels. The same 2017 regulation freed internet providers with up to 5,000 clients from prior authorization, and Teletime noted at the time its relevance for machine-to-machine devices on unlicensed spectrum.

What goes wrong. Activation by personalization (ABP), with static keys, is common in development, and its frame counters reset to zero whenever the device restarts, so the network blocks every message until the counter passes its old value; TTN's advice is to re-register the device after each reset. Airtime is rationed: the European default channels that every device uses to join are held to a 1 per cent duty cycle in most regions, TTN notes, and its public sandbox adds a fair use policy of 30 seconds of uplink airtime and ten downlinks per node per day. Downlinks are scarce and slow for Class A devices, which hear the network only after they speak. Neighbours: LoRa itself (the modulation), the cellular alternatives on licensed spectrum, NB-IoT and LTE-M, and mesh networks.

Alias change. The existing lora entry lists lorawan as an alias; with this entry, that alias moves here.

Also known as: LoRa WAN, LoRa Alliance, AU915, AU915-928

Sources

← Back to L Back to the glossary