3. LoRa Power Optimization

3.1 Introduction

LoRa (Long Range) Sub-GHz communication, which uses CSS (Chirp Spread Spectrum) modulation, gives Sidewalk devices long range at low power. This page covers power optimization techniques specific to LoRa links.

3.2 Device profile optimization

3.2.1 Profile A vs Profile B

Choose the appropriate LoRa profile based on power and connectivity requirements. In the examples on this page, handle is the Sidewalk handle returned by sid_init().

3.2.1.1 Profile A (customizable RX windows)
// Configure LoRa Profile A with customizable RX window count
struct sid_device_profile profileA = {
    .unicast_params = {
        .device_profile_id = SID_LINK3_PROFILE_A,
        .rx_window_count = SID_RX_WINDOW_CNT_ZERO,  // 0 windows (uplink-only), or any number needed
        .unicast_window_interval.async_rx_interval_ms = 5000,  // 5 second intervals
        .wakeup_type = SID_TX_AND_RX_WAKEUP
    },
    .profile_misc_config = {
        .link3_misc_config = {
            .low_latency = SID_LINK3_LOW_LATENCY_DISABLE
        }
    }
};

sid_error_t err = sid_option(handle, SID_OPTION_900MHZ_SET_DEVICE_PROFILE,
                            &profileA, sizeof(profileA));

Profile A characteristics:

  • rx_window_count is configurable (any number, including SID_RX_WINDOW_CNT_ZERO for uplink-only)
  • RX window count of 0 = no downlink capability (maximum power savings)
  • Power consumption scales directly with RX window count
  • Suitable for applications with predictable or no downlink needs
3.2.1.2 Profile B (infinite RX windows)
// Configure LoRa Profile B with infinite RX windows (fixed)
struct sid_device_profile profileB = {
    .unicast_params = {
        .device_profile_id = SID_LINK3_PROFILE_B,
        .rx_window_count = SID_RX_WINDOW_CNT_INFINITE,  // Fixed: must be infinite
        .unicast_window_interval.async_rx_interval_ms = 5000,  // 5 second intervals
        .wakeup_type = SID_TX_AND_RX_WAKEUP
    },
    .profile_misc_config = {
        .link3_misc_config = {
            .low_latency = SID_LINK3_LOW_LATENCY_DISABLE
        }
    }
};

sid_error_t err = sid_option(handle, SID_OPTION_900MHZ_SET_DEVICE_PROFILE,
                            &profileB, sizeof(profileB));

Profile B characteristics:

  • rx_window_count is fixed at SID_RX_WINDOW_CNT_INFINITE (cannot be changed)
  • Continuous downlink reachability
  • RX windows open every async_rx_interval_ms (5 s in this example) indefinitely
  • Suitable for applications requiring always-on connectivity

3.3 Low latency configuration

3.3.1 Low latency mode

Configure low latency mode for time-critical applications:

// Enable low latency mode (higher power consumption)
struct sid_device_profile low_latency_profile = {
    .unicast_params = {
        .device_profile_id = SID_LINK3_PROFILE_B,
        .rx_window_count = SID_RX_WINDOW_CNT_INFINITE,
        .unicast_window_interval.async_rx_interval_ms = 5000,
        .wakeup_type = SID_TX_AND_RX_WAKEUP
    },
    .profile_misc_config = {
        .link3_misc_config = {
            .low_latency = SID_LINK3_LOW_LATENCY_ENABLE  // Enable for low latency
        }
    }
};

sid_error_t err = sid_option(handle, SID_OPTION_900MHZ_SET_DEVICE_PROFILE,
                            &low_latency_profile, sizeof(low_latency_profile));

Power impact:

  • Increased transmission repetitions
  • Faster battery drain
  • Use only when latency is critical

3.4 LoRa Transmit Power Control (TPC)

LoRa Transmit Power Control (TPC) lowers transmit power as far as the link allows and raises it again when acknowledgments are missed. It uses acknowledgments from existing user data traffic and does not generate extra control messages.

  • Power levels: A probe power level is used to test lower settings, and a normal power level (probe power + 4 dB margin) is used for regular transmissions.
  • Search phase: Finds the lowest workable power using binary search.
  • Trial phase: Every 12 hours, checks whether power can be reduced further.
  • Recovery: If messages fail to get acknowledged, TPC raises power to the normal level.

Key features:

  • Conservative power adjustment using transport-ack feedback; power is reduced only when the lower level is proven through transport-ack
  • Binary search for initial power setting, then linear adjustment
  • Normal power range: +4 dBm to +22 dBm with small step adjustments (typically 1 dB)
  • Probe power range: 0 dBm up to the maximum TX power minus 5 dB (4 dB margin + 1 dB step), for example +17 dBm with a +22 dBm maximum
  • Channel-specific power mapping with safety margins
  • Cooldown period of 24 hours between adjustments (trial probe every 12 hours)

Benefits:

  • Optimizes battery life by reducing unnecessary transmission power
  • Lower transmit power means fewer gateways receive each uplink, which reduces channel congestion

Note: This feature requires enabling application layer acknowledgment (AWS IoT Core for Amazon Sidewalk) for optimal operation.

3.4.1 LoRa TPC testing results

The LoRa TPC feature was evaluated to assess its power optimization performance across device profiles. Testing focused on LoRa Profile A and Profile B configurations with high acknowledgment rates to validate TPC effectiveness.

Test environment configurations:

  • Device profiles: LoRa Profile A and Profile B
  • ACK success rate: 95% application layer acknowledgment (AWS IoT Core for Amazon Sidewalk)
  • Test environment: Controlled shielding room with distance < 1 m between device and gateway, single device and gateway operation

TPC performance results:

Environment Avg current, TPC on (mA) Avg current, TPC off (mA) Reduction Avg RF power, TPC on (dBm) Avg RF power, TPC off (dBm)
ACK 95%, Profile A 71.932 128.680 44.10% 11 19
ACK 95%, Profile B 68.896 128.625 46.44% 11 19

Table 3.1: LoRa TPC current consumption results.

Key findings:

  • : Up to 46.44% achieved with Profile B configuration
  • : Both Profile A and Profile B show effective TPC operation with consistent results
  • : Tests were run at a 95% ACK success rate; results at lower ACK rates were not measured
  • : TPC provides consistent 44-46% power reduction across different profiles

Implementation recommendations:

  • Deploy TPC in environments with high ACK success rates for maximum benefit
  • Track the ACK success rate in your cloud application; TPC was tested at 95%
  • In a shielded lab test at under 1 m, TPC reduced average current by 44–46%