Vue arbo
- Objectif : stations K/H/S/B, services locaux, backhaul mod©r©.
- Phases :
- Environnement FastAPI/SQLite (OK).
- Slice radio / docs / mini-blockchain / synchro bundles (voir phases 0â7 ci-dessous).
- Infra :
- ASCII + stations & mat©riel (rappel).
- Todo/achats ( faire : bo®te outdoor, provisioning, etc.).
Vue ASCII (OBBHFL)
Nud central (ville) â contenus + collecte cha®ne
|
| (C-pro / backhaul)
v
RELAIS PRO / KIT K (mairie)
- antennes RX/TX
- SSD contenus + copie cha®ne
- tablette/PC maire
|\
| \-- H : Bo®tier HOME (antenne dir., synchro chain)
| \
| \-- C-port portable (panel antenne, synchro)
|
v (Wi-Fi local)
S : Bo®tier STANDARD (ESP32, µSD, identit©, actions)
Points pr©ciser
- faire Cartographier multi-village (lien AâB) et classes de QoS.
- faire Diagramme physique avec hauteurs m¢t + distances cibles.
- Info trouver Mesures de d©bit r©els CPE210 / NanoStation sur site.
Stations & mat©riel (rappel)
S : Standard (6â8 â¬)
- ESP32-WROOM DevKit, lecteur µSD SPI, bo®tier plastique, alim USB.
- faire Script provisioning cl© (g©n©ration ed25519 + enregistrement).
H : Home (15â35 â¬)
- Base S + antenne directionnelle (CPE210 ou PCB u.FL).
- Info Antennes drone 2.4 GHz Foxeer Omni long range (x2) disponibles pour tests.
- acheter 2 panneaux 2.4 GHz ou CPE210 pour tests.
K : Relais (80â120 â¬)
- Routeur OpenWRT 2.4 GHz + SSD USB 64â128 Go.
- Option solaire 20â30W + batterie 7Ah.
- faire Bo®te outdoor + sch©ma c¢blage.
Backhaul COM (50â70 â¬)
- Paire NanoStation Loco M2/M5 ou clones (port©e 2â10 km LoS).
- Info trouver Bande autoris©e/power local.
Terminal Maire (50â70 â¬)
- Tablette Android 8" + cl© USB blockchain + bo®tier S identit©.
- faire UX vote/validation hors ligne.
Todo & achats (V3)
Technique imm©diat
- faire Init repo
backend/obambu_node avec FastAPI skeleton.
- faire READMEs par station dans
devices/*.
- faire Script sync mock (HTTP + USB).
- faire Format meta document (.json) + exemples.
Achats prioritaires
- acheter 2 ESP32 u.FL + c¢bles/antennes.
- acheter 2 CPE Wi-Fi ext. (CPE210 ou ©quivalent).
- acheter 1 routeur OpenWRT low-power (GL.iNet).
- acheter Kit solaire 20â30W + contr´leur + batterie 7Ah.
Infos collecter
- Info trouver R©glementation radio locale (puissance/bande 2.4/5 GHz).
- Info trouver Conditions terrain (obstacles, hauteur m¢t) pour chaque village.
- Info trouver Besoins UI mairie (vote, attestation, r©vocation).
Phase 0 â Environnement
- Repo FastAPI + SQLite (
backend/obambu_node).
- Endpoints de base
/health, /device/hello.
- OK Stack + env en place.
Phase 1 â Slice radio non s©cu
- Endpoints device : hello, config, content_index, content.
- Stockage simple (SQLite).
- OK API c´t© nud.
- faire Sketch ESP32 (Wi-Fi dur + LED).
Phase 2 â Docs + .enc (fake crypto)
- CRUD documents (
storage/docs, meta).
- ESP32 : base64 â SPIFFS.
- OK Upload admin (base64) + stream binaire device.
Phase 3 â Mini-blockchain
- Tx pool + blocs append-only.
- API :
/transactions, /chain/head, /chain/blocks/{id}.
- faire Impl©mentation blocs/tx.
Phase 4 â Synchro multi-nuds
- En cours Bundles export/import (gzip+base64) + UI admin.
- Script
bundle_carrier.py (Termux/laptop).
- faire Quotas/priors par lien + ACK/purge.
Phase 5 â Signatures & crypto laptop
- ed25519 (PyNaCl) pour maires/communes/nuds.
- En cours Signature admin (ed25519) fiabiliser; token OK.
- faire Choisir format signature (COSE/CBOR vs JSON) pour tx.
Phase 6 â Chiffrement .enc r©el
- libsodium pour docs (nonce, MAC).
- faire Strat©gie rotation cl© doc.
Phase 7 â Forum maires
- Tx FORUM_THREAD / FORUM_POST.
- API forum + UI simple.
- faire TTL/port©e par classe P0..P3.