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: