Initial Release: THOR v1.0 Core
This release contains the fully verified C++17 Core Logic for the THOR (Two-Hop Opportunistic Routing) protocol.
Verified Features
- Physics-Aware Routing (MFR): Implements "Goldilocks" RSSI filtering (-50 to -80 dBm).
- Internet Gravity: Prioritizes routes based on
myInternetandintneighbourflags. - Store-and-Forward Queue: Successfully holds packets when no route exists and releases them upon neighbor discovery.
- Binary Efficiency: Custom 22-byte header serialization.
Verification
The routing logic has been verified via the CLI simulation (examples/simulation.cpp).
- Node A successfully queues packets in "Dead Zones".
- Node B discovery triggers immediate queue flushing.
- Packet deserialization and flag handling are bit-perfect.
See attached screenshot for verification output.
Next Steps
Upcoming v2.0 will introduce:
- Session-based Streaming (
moreDataflag). - Fragmented Headers (6-byte overhead).
- Android JNI Wrapper.