create a mesh network of esp32 that scales citywide in svendborg
the network aims to facilitate :
the esp32's also expose a wifi accesspoint themselves where you can use a html/js webapp to access the mesh network for filesharing/chat/calls etc
if you want to interface the esp32 to an existing network you have to piggybag the esp32 with another esp32 that acts as a wifi bridge from your network to the network of the esp32.
use https://github.com/thinger-io/Protoson for message format
use zhnetwork as mesh transport layer
ideally everything is a message
use https://github.com/siara-cc/esp32_arduino_sqlite3_lib as db
when sending messages
messages[
int id
from references origin_mac_adresses(id)
to references origin_mac_adresses(id)
txt title var char 150
datetime created
int tries default 10
]
tags [
int message_id references messages(id)
enum tag ("file", "message")
]
message_chunk [
int file references messages(id)
int id
blob data # max 150 bytes
]
origin_mac_adresses [
txt mac-adress
int id
]
when you wanna send a message:
when storing files:
files [
txt filename
int id
int mac_adress refer all es origin_mac_adresses(id)
]
origin_mac_adresses [
mac-adress
int id
]
chunks [
int file references files(id)
int id
blob data # max 150 bytes
]