Prana Mesh
The signal that survives when everything else die
Created on 7th May 2026
•
Prana Mesh
The signal that survives when everything else die
The problem Prana Mesh solves
- The "Last-Mile" Rescue GapIn major disasters like earthquakes or floods, the biggest challenge isn't the lack of rescuers; it's knowing where to look.The Problem: Traditional GPS sharing requires an internet connection (4G/5G/Wi-Fi). Once the phone hits 0% or the towers fail, that data is gone.The Prana-Mesh Solution: It utilizes low-level hardware pulses that require virtually zero energy. It effectively bridges the gap between a victim being "lost" and being "mapped," even if the victim is unconscious or unable to call for help.2. Hyper-Efficient Resource AllocationSearch and Rescue (SAR) operations are often hampered by "stale" data—rescuers waste hours checking locations where victims were spotted three days ago.Making it Safer: By implementing the Signal Age Filter, the system automatically categorizes signals.Hot Signals (Red): Real-time pulses from active devices.Cold Signals (Grey): Last known locations from devices that have since died or moved.The Result: Rescuers can prioritize the "Hot" markers, drastically increasing the chances of finding survivors within the "Golden Hour."3. Use-Case ScenariosPeople can use Prana-Mesh in several high-stakes environments:ScenarioExisting TaskPrana-Mesh ImprovementEarthquakesSearching rubble blindly.Scanning for BLE pulses through concrete to pinpoint victims.Wilderness SurvivalUsing flares or mirrors.Automatically broadcasting coordinates when the phone battery is critical.FloodsWaving from rooftops.Creating a "Mesh" of signals that rescuers can see on a boat-mounted dashboard.Mass BlackoutsTotal loss of contact.Maintaining a local-only "Sentinel" network to track family members.4. Hardware DemocratizationUnlike expensive satellite phones (Garmin InReach/Starlink), Prana-Mesh uses existing hardware.Accessibility: It turns every cheap Android smartphone already in a survivor's pocket into an emergency transponder.Scalability: Because the "Sentinel" receiver can be a simple web dashboard on a laptop with a Bluetooth dongle, local community leaders can set up "Safety Hubs" in minutes without needing government-level infrastructure.
Challenges we ran into
- The "Deep Sleep" Execution BarrierThe Hurdle: Android’s Doze Mode and App Standby are designed to kill background processes to save battery—the exact opposite of what a distress beacon needs. When the battery hit 2%, the OS would often kill the BLE advertiser to squeeze out ten more minutes of idle time.The Fix: I had to implement a Foreground Service with a high-priority notification. By using startForeground(), I effectively told the OS: "This task is more important than your power-saving rules." I also added the REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission to ensure the "Ghost" pulse wasn't deferred by the system's job scheduler.2. The 24-Byte Payload ConstraintThe Hurdle: Standard BLE advertising packets are tiny. After headers, you only have about 24–31 bytes of "Manufacturer Specific Data." Trying to fit a Device ID, Latitude, Longitude, Status, and a Security Nonce into that space is like trying to write a novel on a postage stamp.The Fix: I abandoned standard Double formats for GPS. Instead of 8-byte floats, I used Fixed-Point Arithmetic:I multiplied coordinates by $10^6$ and stored them as 4-byte Signed Integers.This saved 8 bytes immediately while maintaining precision down to ~11 centimeters—plenty for a rescue team.3. MySQL Spatial "Ghosting"The Hurdle: During testing, the web dashboard would sometimes show survivors in the middle of the ocean. This happened because the MySQL POINT data was being interpreted in (Long, Lat) order by the database but (Lat, Long) by the Leaflet.js frontend.The Fix: I standardized the backend to SRID 4326 (the global GPS standard) and wrote a custom utility function in the FastAPI layer to flip the coordinates during the GeoJSON serialization. I also implemented a Spatial Index to ensure that when a "Sentinel" scans a 5km radius, the database doesn't have to scan every single row in the table, preventing a backend crash during high-load disasters.
Discussion
Builders also viewed
See more projects on Devfolio
