SOS

When Internet Fails,
Your Phone Saves Lives

A peer-to-peer mesh network that turns every smartphone into a rescue beacon.
Even if you don't need rescue, hold out your phone so SOS messages can pass through.

24+ Hour Battery Life
Secure & Encrypted
Everyone is a Hero
Built withFlutter + Dart
|
App Size< 15MB

Built for Natural Disasters

When infrastructure fails, communication is critical. AnchorMesh keeps you connected.

Earthquakes
Tsunamis
Volcanic Eruptions
Floods
Hurricanes
Tornadoes
Wildfires

Three-Level Alert System

Simple, clear status codes that rescuers can prioritize instantly.
User cannot edit messages - only status options

0x03

Red

Critical

Life-threatening emergency requiring immediate rescue

0x02

Yellow

Injured

Medical attention needed but not immediately life-threatening

0x00

Green

Safe

No assistance needed - acting as a relay node

How Mesh Networking Works

Everyone becomes a node in a life-saving network. Your phone is a bridge.

1

Internet Fails

App detects when connection to the outside world is lost after multiple ping failures.

Smart Detection: Ping Google 3 times. If all fail, activate mesh mode.

2

Mesh Activates

Your phone automatically switches to BLE mesh networking mode.

Bluetooth Low Energy: 100-400m range in open air

3

SOS Broadcast

Trapped victims broadcast their status and GPS coordinates.

Packet: UUID | GPS | Status | Timestamp (17-20 bytes)

4

Epidemic Routing

Nearby phones silently relay messages through the mesh network.

Store-and-Forward: Every phone carries every message

5

Cloud Sync

When any phone regains internet, all stored SOS messages upload automatically.

Acknowledgment system prevents infinite propagation

Phone A (Trapped)

Posts SOS with GPS coordinates. Broadcasts signal continuously.

Rescue Server

Receives aggregated SOS data. Dispatches rescue teams to locations.

Technical Deep Dive

Built with precision engineering for reliability when it matters most.

BLE Specifications

Range (Indoor)10-30m
Range (Open Air)100-400m
Maximum Transmission Unit (MTU)
Android514 bytes
iOS524 bytes
Connection Limits
Simultaneous Connections3-7 devices

Packet Structure

BytesFieldSize
0-1App Header2B
2-5User ID4B
6-7Sequence2B
8-15GPS (Lat/Lon)8B
16Status Code1B
17-20Timestamp4B

Total: ~21 bytes per SOS packet - fits in any BLE MTU

GPS Optimization

Coordinates stored as 32-bit integers (10^7 multiplier) for optimal precision-to-size ratio.

Double (64-bit)
16 bytes~1nm precision
Integer (10^7)
8 bytes~1.1cm precision
Single (32-bit)
8 bytes~1.7m precision

DEFCON Battery System

Smart power management based on threat level detection.

Level 5: Peace99.9% of time

API check every 30 min. BLE/GPS OFF.

Level 3: WarningVerification

Earthquake/Hurricane detected. Ping Google to verify.

Level 1: DisasterFull Mesh

All systems active. Continuous broadcast.

Platform Support

Cross-platform compatibility with platform-specific optimizations.

Android

Full Support

Background Features

  • Google Nearby Connections (100m range)
  • WorkManager for background tasks
  • Programmatic MTU control
  • Battery optimization bypass
Battery Modes
SOS Active: 6-8 hrs
Bridge Mode: 12+ hrs
Background: 24+ hrs
Custom: Adjustable

iOS

Limited Background

Device Support (iPhone 6+)

iOS 17+524 bytes MTU
iOS 15-16244 bytes MTU
iOS 10-14182 bytes MTU
Limitations
  • - Low Power Mode detection only (cannot override)
  • - Background UUID overflow area
  • - System-managed MTU
  • - 30-second wake limit from silent push
iOS Advantages
  • - Scan + Broadcast simultaneously in background
  • - State Preservation & Restoration
  • - Silent push for disaster alerts

Offline Utilities

Essential tools that work without any network connection.

Offline Map

Pre-cached maps for navigation

Compass

Digital compass for direction

GPS Tracker

Real-time location tracking

SOS Strobe

Visual signal for rescuers

Ultrasonic SOS

17-20kHz inaudible beacon

Medical Info

Blood type, allergies, etc.

Offline Wiki

Emergency survival guides

Community Chat

Mesh-based local messaging

Ultrasonic SOS Technology

Converts SOS data to inaudible sound waves (17-20kHz) that can be detected by nearby phones, even without Bluetooth connectivity.

Range: 1-5 meters (indoor)
No max volume required
Humans cannot hear the transmission
// Transmission Flow
Sender: "User:123 Status:Red"
↓ Convert to WAV (17-20kHz)
Speaker: Plays inaudible sound
↓ Microphone captures
Decoder: Extracts string data

Hot or Cold Proximity

Guide rescuers to victims using signal strength and sensor fusion.

RSSI Distance Calculation

// Distance Formula
d = 10^((P - RSSI) / (10 * N))
P = -69 dBm (power at 1m)
N = Environmental factor
N = 2Open Space (Field)
N = 3Disaster Average
N = 4Rubble / Buildings

Direction Finding (LocBLE)

Without Bluetooth 5.1+ hardware arrays, we use sensor fusion with the phone's compass and gyroscope.

-60 dBm
-90 dBm
-75 dBm
-85 dBm

User spins 360° while app records RSSI at each heading.
Strongest signal indicates direction to target.