Skip to Content
FundamentalsUnderstanding Device Types

Understanding Device Types

LoRaWAN defines three device classes (A, B, C) with distinct capabilities and power consumption profiles.

Class A (All Devices)

Most common and power-efficient

Characteristics

  • Bi-directional communication
  • Downlinks only after uplink transmission
  • Two short receive windows after each uplink
  • Lowest power consumption

How It Works

  1. Device sends an uplink message
  2. Opens RX1 window (1-2 seconds later)
  3. Opens RX2 window (1 second after RX1)
  4. Returns to sleep

Use Cases

  • Battery-powered sensors
  • Environmental monitoring
  • Asset tracking
  • Applications with infrequent downlinks

Power Profile

  • Battery life of 5-10+ years
  • Active only during transmission and receive windows

Class B (Beacon)

Scheduled receive windows

Characteristics

  • Includes all Class A features
  • Additional scheduled receive windows
  • Synchronized with network beacon
  • Moderate power consumption

How It Works

  1. Synchronizes with network beacon (every 128 seconds)
  2. Opens predictable receive windows
  3. Application can schedule downlinks

Use Cases

  • Smart streetlights
  • Irrigation control
  • Applications requiring scheduled commands

Power Profile

  • Moderate battery drain
  • Battery life of months to years, depending on beacon frequency

Class C (Continuous)

Always listening

Characteristics

  • Includes all Class A features
  • Continuously listening (except when transmitting)
  • Immediate downlink capability
  • Highest power consumption

How It Works

  1. Receive windows open continuously
  2. Network can send downlinks at any time
  3. Closes briefly during uplink transmission

Use Cases

  • Mains-powered devices
  • Actuators requiring fast response
  • Emergency systems
  • Applications where latency is critical

Power Profile

  • Requires mains power or frequent recharging
  • Battery life of hours to days

Comparison Table

FeatureClass AClass BClass C
Downlink latencyHigh (wait for uplink)Medium (scheduled)Low (immediate)
Power consumptionLowestMediumHighest
Battery lifeYearsMonths-YearsHours-Days
Downlink slots2 per uplinkScheduled + uplinkContinuous
Best forSensorsActuators (scheduled)Actuators (immediate)

Choosing the Right Class

Choose Class A if:

  • Device is battery-powered
  • Infrequent downlinks are acceptable
  • Cost-sensitive application
  • Maximum battery life is needed

Choose Class B if:

  • Predictable downlink timing is required
  • Cannot always wait for uplink
  • Battery life is still important
  • Scheduled operations are needed

Choose Class C if:

  • Mains power is available
  • Fast downlink response is critical
  • Real-time control is required
  • Battery life is not a concern

Switching Classes

Some devices support multiple classes:

  • Start in Class A for lowest power consumption
  • Switch to Class C when needed
  • Return to Class A to conserve battery

Example: Smart valve

  • Class A for periodic reporting
  • Class C for maintenance/control
  • Returns to Class A for normal operation

Implementation Notes

Class A Considerations

  • Plan for delayed downlinks
  • Implement retry logic
  • Buffer commands on the server

Class B Considerations

  • Ensure good gateway coverage for beacons
  • Account for beacon synchronization time
  • Handle missed beacon scenarios

Class C Considerations

  • Design for higher power usage
  • Implement power management
  • Consider solar or large batteries

Learn More