LAB BENCH REPORT // SEPTEMBER 28, 2026 · 8 MIN READ

Building a Truly Offline Encrypted LoRa Mesh Network

Zero internet, zero cellular towers, 10km range, and AES-256 peer-to-peer encryption.

Samarth Mishra
Hardware Hacker & Systems Builder
BTCRAZY // LAB 01
MYBENCHTESTED
BENCH WARNING //
Tested line-of-sight across Kanpur riverbank — 8.4km confirmed transmission with zero dropped bytes!
NOTEBOOK INDEX // SECTIONS
01WHY OFFLINE MATTERS02PROTOCOL DESIGN03REAL WORLD FIELD DATA
01 / WHY OFFLINE MATTERS

The illusion of always-on connectivity.

Modern communication software is fragile. Every message you send travels through dozens of centralized data centers, third-party authentication servers, and undersea cables.

If a storm knocks down a local cell tower or the power grid trips, your ₹1,00,000 ($1,200) smartphone becomes a useless slab of glass. We wanted a radio network that operates unconditionally, powered by small 18650 solar cells, that anyone can build with basic soldering skills.

02 / PROTOCOL DESIGN

Flooding mesh routing with cryptographic deduplication.

Standard IP routing tables are too heavy for microcontrollers with 64KB RAM. Instead, our firmware uses an epidemic flooding protocol where every node repeats heard packets up to 5 hops, checking a 16-entry CRC cache to prevent endless broadcast loops.

lora_mesh_router.cpp
struct LoRaPacket {
    uint8_t hop_limit;       // Max 5 hops across the city
    uint32_t message_id;     // CRC32 of encrypted payload
    uint8_t sender_key[16];  // Ephemeral public sender tag
    uint8_t payload[180];    // AES-256-GCM cipher bytes
    uint8_t auth_tag[16];    // Poly1305 authentication tag
};

bool handle_mesh_rx(LoRaPacket *pkt) {
    if (cache_has_seen(pkt->message_id)) return false; // Prevent loop
    cache_record(pkt->message_id);
    
    if (pkt->hop_limit > 0) {
        pkt->hop_limit--;
        schedule_rebroadcast_jitter(pkt); // Random 50-200ms delay to avoid collisions
    }
    return try_decrypt_local(pkt);
}
03 / REAL WORLD FIELD DATA

Transmission stats from our highest antenna perch.

We hiked up to a water tower with Node #01 and set Node #02 on a balcony across the river. Here is the telemetry recorded across 200 ping bursts:

HARDWARE SPECIFICATION SHEET
ParameterBench ValueNotes
Frequency Band865-867 MHz (India License-Free Band)Narrowband FM
Spreading FactorSF11 / 125kHz BandwidthExtreme sensitivity
RSSI at 8.4km-119 dBm (Noise Floor: -128 dBm)Stable 98.5% packet delivery
Transmit Power20 dBm (100mW RF Output)Legal limit compliant
Solar Autonomous RunIndefinite (2W Panel + 3400mAh 18650)Tested for 19 days continuous
END OF DOCUMENTATION

DID YOU BUILD THIS OR FIND IT HELPFUL?

← BACK TO ALL NOTESMAIN HARDWARE LAB ⚡