This reference contains common terms and definitions to help you find your way around The Things Stack.
- Activation by Personalisation
- (ABP)
- Manually provisioning device keys to join a LoRaWAN network. Less flexible, less secure, and less scalable than OTAA, but sometimes useful during demos, to avoid waiting for a downlink window to join a network.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=37
- Activation Mode
- Over-the-Air Activation (OTAA) is the preferred and most secure way to connect a device. Devices perform a join-procedure with the network, during which a dynamic Device Address is assigned and security keys are negotiated with the device. Activation by Personalization (ABP) requires hardcoding the Device Address as well as the security keys in the device. This strategy might seem simpler, because you skip the join procedure, but it has downsides related to security. ABP also has the downside that devices can not switch network providers without manually changing keys in the device. Multicast is a virtual group of ABP devices which allows all devices to receive the same downlinks. Multicast groups do not support uplinks.
- Adaptive Data Rate
- (ADR)
- A mechanism for optimizing data rates, airtime and energy consumption in the network.
- https://www.thethingsnetwork.org/docs/lorawan/adaptive-data-rate.html
- ADR ACK delay
- This value changes the
ADR_ACK_DELAY
value defining the ADR back-off algorithm. Changing the desired value makes the Network Server transmit theADRParamSetupReq
MAC command (from LoRaWAN 1.1).
- ADR ACK limit
- This value changes the
ADR_ACK_LIMIT
value defining the ADR back-off algorithm. Changing the desired value makes the Network Server transmit theADRParamSetupReq
MAC command (from LoRaWAN 1.1).
- ADR enabled
- Whether or not Adaptive Data Rate (ADR) is enabled for the end device to optimize the data rate and power consumption based on signal strength and noise ratio. Enable this for stationary end devices and for end devices that set the LoRaWAN ADR bit in uplink messages. If this setting is enabled, but the end device does not ask for ADR in uplink messages, ADR will not be applied. Disable ADR for moving devices like asset trackers.
- AppEUI
- (JoinEUI)
- In LoRaWAN specifications prior to 1.1, JoinEUI was called AppEUI. See JoinEUI.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=33
- Application
- An Application in The Things Stack allows you to register LoRaWAN devices and manage data and integrations. Applications can be created via the Console or CLI.
- https://www.thethingsnetwork.org/docs/applications/
- Application ID
- (AppID)
- A unique, human-readable identifier for your application.
- Application Key
- (AppKey)
- A device specific encryption key used during OTAA to derive the AppSKey (in LoRaWAN 1.1x) or both the NwkSKey and AppSKey in LoRaWAN 1.0x. This is usually pre provisioned by the device manufacturer, but can also be created by the user.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=34
- Application Session Key
- (AppSKey)
- After activation, this encryption key is used to secure messages which carry a payload.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=33
- Band
- (Frequency Band)
- For LoRaWAN, a Band is a range of frequencies divided either in to dynamic channels (i.e. EU868) or fixed channels (i.e. US902, AU915). The LoRaWAN Regional Parameters specify which Bands are supported by LoRaWAN in a geographical area. Within a Band, there can be multiple complying Frequency Plans. Devices typically support one or more Bands in their hardware, and are configured for a particular Frequency Plan as part of activation.
- https://lora-alliance.org/wp-content/uploads/2019/11/rp_2-1.0.0_final_release.pdf
- Bandwidth
- LoRaWAN can use channels with a bandwidth of either 125 kHz, 250 kHz or 500 kHz, depending on the region or the Frequency Plan. Making the bandwidth 2x wider (from BW125 to BW250) allows you to send 2x more bytes in the same time.
- https://www.thethingsnetwork.org/docs/lorawan/modulation-data-rate.html
- Beacon frequency
- The class B beacon is sent on a fixed frequency. This value changes the frequency to use in class B beacons. Use the same setting for all end devices using class B in the network. Changing the desired value makes the Network Server transmit the
BeaconFreqReq
MAC command.
- Class A
- Class A devices support bi-directional communication between a device and a gateway. Uplink messages (from the device to the server) can be sent at any time (randomly). The device then opens two receive windows at specified times after an uplink transmission. The first receive window (Rx1) is set to 5 seconds and can be modified. The second receive window (Rx2) always comes 1 second after Rx1.
- https://www.thethingsnetwork.org/docs/lorawan/classes.html
- Class B
- Class B devices extend Class A by adding scheduled receive windows for downlink messages from the server. Using time-synchronized beacons transmitted by the gateway, the devices periodically open receive windows.
- https://www.thethingsnetwork.org/docs/lorawan/classes.html
- Class B timeout
- Time after sending a class B confirmed downlink message in a ping slot to wait for an uplink message with acknowledgment that the confirmed downlink message was received. The Network Server waits for the uplink message with acknowledgment to arrive or for this class B timeout to expire before scheduling other downlink messages. The Things Stack does not schedule MAC commands in class B downlink; the only type of downlink messages that require an uplink message within this timeout are confirmed application data downlink messages.
- Class C
- Class C devices extend Class A by keeping the receive windows open unless they are transmitting. This allows for low-latency communication but is many times more energy consuming than Class A devices.
- https://www.thethingsnetwork.org/docs/lorawan/classes.html
- Class C timeout
- Time after sending a class C confirmed downlink message to wait for an uplink message with acknowledgment that the confirmed downlink message was received. The Network Server waits for the uplink message with acknowledgment to arrive or for this class C timeout to expire before scheduling other downlink messages. The Things Stack does not schedule MAC commands in class C downlink; the only type of downlink messages that require an uplink message within this timeout are confirmed application data downlink messages.
- Classes
- The LoRaWAN specification defines three device types. All LoRaWAN devices must implement Class A, whereas Class B and Class C are extensions to the specification of Class A devices.
- https://www.thethingsnetwork.org/docs/lorawan/classes.html
- Data Rate
- (DR)
- A combination of Bandwidth and Spreading Factor which defines how quickly a message is transmitted.
- https://www.thethingsnetwork.org/docs/lorawan/modulation-data-rate.html
- Data Rate Index
- The Data Rate Index specifies which data rate downlink communications will use, as given in the Regional Parameters.
- https://lora-alliance.org/wp-content/uploads/2020/11/rp_2-1.0.1.pdf#page=25
- Data Rate Offset
- The Data Rate Offset sets the offset between the uplink data rate and the downlink data rate used to communicate with the End Device during the first reception slot (RX1).
- https://lora-alliance.org/wp-content/uploads/2020/11/rp_2-1.0.1.pdf#page=27
- Device Address
- (DevAddr)
- A 32 bit non-unique identifier, assigned by the Network Server during device activation.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=33
- Device EUI
- (DevEUI)
- A 64 bit extended unique identifier for your device. This is programmed by the manufacturer and should not be changed. It should be provided to you by the manufacturer, or printed on the device.
- https://www.thethingsnetwork.org/docs/lorawan/addressing.html
- Device ID
- A unique, human-readable identifier for your device. You make it up, so be creative. Device IDs can not be used by multiple devices within the same application.
- Duty Cycle
- The fraction of time a device is busy. When a single device transmits on a channel for 2 time units every 10 time units, this device has a duty cycle of 20%.
- https://www.thethingsnetwork.org/docs/lorawan/duty-cycle.html
- Dwell Time
- The time needed to transmit a LoRaWAN message. In some regions a maximum allowed dwell time is configured to limit transmission time, typically 400ms.
- Dwell Time Configuration
- The Dwell time restrictions are configurable for each Frequency Plan. In regions where dwell time limitations are optional, they’re disabled by default.
- Dynamic Channel
- A Band which uses Dynamic Channels (i.e. EU868) uses a Channel Frequency List (CFList) to communicate channels by frequency.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=50
- Effective Isotropic Radiated Power
- (EIRP)
- The total power radiated from a hypothetical isotropic antenna in a single direction in watts, measured in dBm. The maximum allowed EIRP differs between regions. Antenna power provides a tradeoff between range and battery life, and is one of the components of the ADR mechanism.
- Effective Radiated Power
- (ERP)
- The total power radiated by a real antenna relative to a half-wave dipole antenna.
- End Device
- (Device)
- (Node)
- (Mote)
- A sensor or actuator with an embedded low power LoRaWAN communication module.
- https://www.thethingsnetwork.org/docs/devices/
- Fixed Channel
- A Band which uses Fixed Channels (i.e. US902, AU915) uses a Channel Mask (ChMask) to enable and disable channels.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=50
- Forwarding Network Session Integrity Key
- (FNwkSIntKey)
- A network session key used to calculate all or half of the message integrity code for uplink messages. When a LoRaWAN 1.1 capable device connects to a LoRaWAN 1.0x Network Server, the value of FNwkSIntKey is used as the value of SNwkSIntKey and NwkSEncKey.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawantm_specification_-v1.1.pdf#page=50
- Frequency Plan
- (FP)
- (Channel Plan)
- A Frequency Plan defines data rates and channels which comply with the LoRaWAN Regional Parameters for a band or geographical area. Devices are configured for a particular Frequency Plan as part of activation, and can use any Frequency Plan within a supported band.
- https://github.com/TheThingsNetwork/lorawan-frequency-plans
- Gateway
- Gateways form the bridge between End Devices and Network Servers. Devices use low power networks like LoRa to connect to the Gateway, while the Gateway uses high bandwidth networks like WiFi, Ethernet or Cellular to connect to a Network Server.
- https://www.thethingsnetwork.org/docs/gateways/
- Gateway EUI
- A 64 bit extended unique identifier for your gateway. This is programmed by the manufacturer and should not be changed. In cases where it is not programmed by the manufacturer, it must be programmed with a unique EUI that you own.
- https://www.thethingsnetwork.org/docs/lorawan/addressing.html
- Gateway ID
- A unique, human-readable identifier for your gateway.
- Hop Time
- The amount of time needed to change from one frequency to another, in which the radio is not transmitting.
- Integration
- Integrations connect devices to the world, by triggering events whenever a device communicates. The Application server manages integrations using Webhooks or MQTT. These can be as simple as an IFTTT Maker Applet or a visual flow using Node-RED, or as complex as custom code on a server which processes and acts on device data.
- https://www.thethingsnetwork.org/docs/applications/integrations.html
- Interval
- The duration between messages.
- https://www.thethingsnetwork.org/docs/lorawan/duty-cycle.html
- ISM Radio Bands
- The Industrial, Scientific, and Medical Bands, most commonly used for low-power and short range telecommunications, such as WiFi, Bluetooth, Zigbee, wireless telephones, RFID, and NFC.
- https://en.wikipedia.org/wiki/ISM_band
- Join Server
- A Join Server is a component of the LoRaWAN server defined in the LoRaWAN Backend Interfaces. The Things Stack contains a Join Server, which is used by default unless an External Join Server is specified. The Join Server’s role is to store root keys, generate session keys, and to send those securely to the Network Server and Application Server of choice. The device contains the same root keys, which can be provisioned as part of assembly, distribution or upon installation. An External Join Server allows for secure end device provisioning without network lock-in. The owner uses a device claiming procedure to transfer ownership in the Join Server.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawantm-backend-interfaces-v1.0.pdf#page=9
- JoinEUI
- The JoinEUI (formerly called AppEUI) is a 64 bit extended unique identifier used to identify the Join Server during activation. This should be provided by the device manufacturer for pre-provisioned devices, or by the owner of the Join Server you will use. If you do not have a JoinEUI, it is okay to use
0000000000000000
, but ensure that you use the same JoinEUI in your device as you enter in The Things Stack. - https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=33
- Local area network
- (LAN)
- A network that connects computers within a limited area.
- https://en.wikipedia.org/wiki/Local_area_network
- LoRa
- A modulation technology for long range wireless communication, based on chirp-spread spectrum technology.
- https://en.wikipedia.org/wiki/LoRa
- LoRa Basics™ Station
- (LBS)
- (Basic Station)
- (Station)
- The LoRa Basics™ Station protocol simplifies management of large scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to The Things Stack. Some of the advantages of LoRa Basics™ Station over the legacy UDP Packet Forwarder are: Centralized Update and Configuration Management, TLS and Token-based Authentication, Centralized Channel-Plan Management, and No Dependency on Local Time Keeping.
- https://lora-developers.semtech.com/resources/tools/basic-station/welcome-basic-station/
- LoRaWAN
- LoRaWAN is a media access control (MAC) protocol for wide area networks. It is designed to allow low-powered devices to communicate with Internet-connected applications over long range wireless connections.
- https://lora-alliance.org/about-lorawan
- LoRaWAN Version
- The LoRaWAN version is the LoRa Alliance LoRaWAN specification your device conforms to, which defines which Media Access Control features it supports. The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification. The most commonly used LoRaWAN versions are v1.0.2 and v1.0.3. (V2 uses v1.0.2 by default).
- Maximum duty cycle
- The maximum aggregated transmit duty cycle of the end device over all sub-bands. The allowed time-on-air is 1/N where N is the given value, 1 is 100%, 1024 is 0.97%, etc. This value is used for traffic shaping. All end devices must respect regional regulations regardless of this value. Changing the desired value makes the Network Server transmit the
DutyCycleReq
MAC command.
- Maximum EIRP
- The maximum allowed Effective Isotropic Radiated Power (EIRP). The end device uses this value as the maximum, it shall never use a higher EIRP, but a lower EIRP is allowed. This value is given in dBm. Changing the desired value makes the Network Server transmit the
TxParamSetupReq
.
- Media Access Control
- (MAC)
- LoRaWAN media access control protocols, downloadable from the LoRa Alliance. The Media Access Control version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification.
- https://lora-alliance.org/lorawan-for-developers
- Network Key
- (NwkKey)
- A device specific encryption key used to derive the FNwkSIntKey, SNwkSIntKey, NwkSEncKey in LoRaWAN 1.1. When a LoRaWAN 1.1 capable device connects to a LoRaWAN 1.0x Network Server which does not support dual root keys (NwkKey and AppKey), the NwkKey value is used as the AppKey value.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawantm_specification_-v1.1.pdf#page=48
- Network Server
- (Backend)
- The Network Server is responsible for routing Internet of Things data between devices and applications.
- https://www.thethingsnetwork.org/docs/network/
- Network Session Encryption Key
- (NwkSEncKey)
- A network session key used to encrypt and decrypt MAC commands transmitted on FPort 0, which contain no application payload. When a LoRaWAN 1.1 capable device connects to a LoRaWAN 1.0x Network Server, the value of FNwkSIntKey is used as the value of SNwkSIntKey and NwkSEncKey.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawantm_specification_-v1.1.pdf#page=50
- Network Session Key
- (NwkSKey)
- After activation, this encryption key is used to secure messages which do not carry a payload.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=33
- Over the Air Activation
- (OTAA)
- The preferred method to join a LoRaWAN network, offering more flexibility, security, and scalability than ABP.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawan1.0.3.pdf#page=34
- Packet Forwarder
- A Packet Forwarder is a program running on a Gateway that receives and transmits LoRa packets, and forwards these packets to and from a Network Server.
- Payload
- A LoRaWAN packet. Application payloads are decrypted data relevant to the application. Gateway payloads are encrypted and include the application payload plus a frame counter and other LoRaWAN data.
- Physical Layer
- (PHY)
- Hardware pertaining to LoRaWAN official regional specifications. The PHY version for your device should be specified in the product documentation as Regional Parameter version.
- https://lora-alliance.org/wp-content/uploads/2019/11/rp_2-1.0.0_final_release.pdf
- Ping slot data rate index
- The class B ping slot uses a fixed frequency and data rate. This value configures the data rate to use in class B ping slots. See LoRaWAN Regional Parameters to find the band’s modulation settings for each data rate index. Changing the desired value makes the Network Server transmit the
PingSlotChannelReq
MAC command.
- Ping slot frequency
- The class B ping slot uses a fixed frequency and data rate. This value configures the frequency to use in class B ping slots. Changing the desired value makes the Network Server transmit the
PingSlotChannelReq
MAC command.
- Received Signal Strength Indicator
- (RSSI)
- The received signal power in milliwatts, measured in dBm. This value is used as a measurement of how well the signal is received. RSSI is used in the ADR feedback loop to determine if a signal is being received with enough power to allow the device to increase its data rate and conserve battery. A high RSSI means the device can reduce transmission power and messages will still be received.
- Regional Parameters
- (PHY)
- The Regional Parameters specify frequency, dwell time, and other communication settings for different geographical areas. The Regional Parameters version is the version of the LoRa Alliance specification which your device supports. This should be provided by the device manufacturer in a datasheet.
- https://lora-alliance.org/wp-content/uploads/2019/11/rp_2-1.0.0_final_release.pdf
- Resets FCnt
- Enable this to allow end devices to reset their frame counter (FCnt). This is not LoRaWAN compliant and this is not secure. This is to support ABP end devices that reset their frame counter on a power cycle. Do not use this setting in production.
- RX1 data rate offset
- Used to lower data rate in the first receive window (RX1). When using 0, there is no offset applied. A value higher than 0 reduces the RX1 data rate. See LoRaWAN Regional Parameters to lookup the downstream data rate in RX1 for each offset value. OTAA devices receive the RX1 data rate offset as part of the join-accept. Changing the desired value during an OTAA or ABP session makes the Network Server transmit the
RXParamSetupReq
MAC command.
- RX1 delay
- Time in seconds after an uplink transmission until the first receive window (RX1) opens. The second receive window (RX2) opens exactly 1 second after RX1. OTAA devices receive the RX1 delay as part of the join-accept. Changing the desired value during an OTAA or ABP session makes the Network Server transmit the
RXTimingSetupReq
MAC command.
- RX2 data rate frequency
- The second receive window (RX2) uses a fixed frequency and data rate. This value configures the frequency to use in RX2. Changing the desired value makes the Network Server transmit the
RXParamSetupReq
MAC command.
- RX2 data rate index
- The second receive window (RX2) uses a fixed frequency and data rate. This value configures the data rate to use in RX2. See LoRaWAN Regional Parameters to find the band’s modulation settings for each data rate index. OTAA devices receive the RX1 data rate offset as part of the join-accept. Changing the desired value during an OTAA or ABP session makes the Network Server transmit the
RXParamSetupReq
MAC command.
- Semtech UDP Packet Forwarder
- (UDP Packet Forwarder)
- The Semtech UDP Packet Forwarder is the first packet forwarder, connecting to servers through the Semtech UDP protocol. Although this protocol has several drawbacks, many gateways include a pre-compiled version of the packet forwarder, which makes it easy to test a gateway with this protocol.
- Serving Network Session Integrity Key
- (SNwkSIntKey)
- A network session key used to calculate all of the message integrity code for downlink messages and half of the message integrity code for uplink messages. When a LoRaWAN 1.1 capable device connects to a LoRaWAN 1.0x Network Server, the value of FNwkSIntKey is used as the value of SNwkSIntKey and NwkSEncKey.
- https://lora-alliance.org/wp-content/uploads/2020/11/lorawantm_specification_-v1.1.pdf#page=50
- Signal to noise ratio
- (SNR)
- A measure of signal strength.
- https://en.wikipedia.org/wiki/Signal-to-noise_ratio
- Spreading Factor
- (SF)
- The transmission speed or Data Rate of a LoRaWAN message, ranging from SF7 (highest Data Rate) to SF12 (lowest Data Rate). Making the spreading factor 1 step lower (from SF10 to SF9) allows you to roughly send the same amount of data use half the time on air. Lowering the spreading factor makes it more difficult for the gateway to receive a transmission, as it will be more sensitive to noise.
- https://www.thethingsnetwork.org/docs/lorawan/modulation-data-rate.html
- Status count periodicity
- Number of uplink messages after which the device status is requested by transmitting the
DevStatusReq
MAC command. Set to 0 to disable requesting the device status based on the number of uplink messages.
- Status time periodicity
- Interval to request the device status by transmitting the
DevStatusReq
MAC command. Set to 0 to disable requesting the device status on an interval.
- Tenant ID
- A Tenant ID is given to you by The Things Industries when you register for a Cloud account. Your Tenant ID is part of the URL of your deployment, i.e https://
.eu1.thethings.industries.
- The Things Industries (TTI)
- the company primarily responsible for development of The Things Stack and writing documentation. The Things Industries also offers cloud hosted and on-premises private LoRaWAN networks with additional enterprise features, and premium support plans for enterprise clients. If you’re interested in building your own guaranteed uptime enterprise grade LoRaWAN network, send us an email.
- The Things Network (TTN)
- TTN is The Things Network, which is a global collaborative Internet of Things ecosystem that creates networks, devices and solutions using LoRaWAN. The Things Network runs The Things Stack Sandbox, which is a crowdsourced, open and decentralized LoRaWAN network.
- The Things Stack (TTS)
- LoRaWAN Network Server sofware stack. The Things Stack is currently at version 3 of a Network Server implementation, and is therefore also informally known as V3.
- The Things Stack AWS Launcher
- AWS marketplace makes it easy to deploy in one click on new or existing EC2 cluster. Integrates effortlessly with AWS IOT, so you can keep using tools you’re already familiar with.
- The Things Stack Cloud (TTSC)
- SLA backed, highly available, feature rich LoRaWAN network server hosted by The Things Industries.
- The Things Stack Enterprise (TTSE)
- Install the network components on your own hardware, with professional support from The Things Industries.
- The Things Stack Open Source
- For DIY’ers, the core of is The Things Stack is open source. If you want to get your hands dirty and understand how The Things Stack works, clone away and get hacking.
- The Things Stack Sandbox (TTSS)
- Run by The Things Industries, this is a cluster for non-commercial, small scale testing and experimentation, which powers the world’s largest community based LoRaWAN network.
- Wide area network
- (WAN)
- A network that connects within a wide geographical range, usually to the internet.
- https://en.wikipedia.org/wiki/Wide_area_network