Compare commits

...

3 Commits

Author SHA1 Message Date
bf9e6c3ebe add docs 2023-07-18 15:08:58 +02:00
7fa7755466 rm useless config 2023-07-18 14:50:58 +02:00
60c06d65e2 rm debug 2023-07-18 14:50:18 +02:00
4 changed files with 40 additions and 8 deletions

39
IOT/archi global.puml Normal file
View File

@ -0,0 +1,39 @@
@startuml
cloud {
[Serveur de donnée]
}
database "infrastructure vigneron" {
[gateway principale]
[relay] as R
[station météo1] as SM1
[station météo2] as SM2
[station météo...] as SMX
circle "capteur sol" as CS1
circle "capteur sol" as CS2
circle "capteur sol" as CS3
circle "capteur sol" as CS4
circle "capteur sol" as CS5
circle "capteur sol" as CS6
SM1 <.. CS1 : LORA (or espNow)
SM1 <.. CS2
SM1 <.. CS3
R <.. SM1
R <.. CS6
SM2 <.. CS4
SM2 <.. CS5
}
[Serveur de donnée] <-- [gateway principale] : WiFi (api)
[gateway principale] <.. SM1 : LORA (or espNow)
[gateway principale] <.. SM2 : LORA (or espNow)
[gateway principale] <.. SMX : LORA (or espNow)
[gateway principale] <.. R
@enduml

View File

@ -16,7 +16,7 @@ build_flags =
;;; FDRS config
-D FDRS_DEBUG ; Enable USB-Serial debugging
; -D FDRS_DEBUG ; Enable USB-Serial debugging

View File

@ -8,13 +8,6 @@
#include <Arduino.h>
#include <SPI.h>
#include <fdrs_gateway.h>
// Routing
// Options: sendESPNowNbr(1 or 2); sendESPNowPeers(); sendLoRaNbr(1 or 2); broadcastLoRa(); sendSerial(); sendMQTT();
#define ESPNOWG_ACT sendSerial();
#define LORAG_ACT sendSerial();
void setup() {
beginFDRS();
}

BIN
chiffrage IOT.xlsx Normal file

Binary file not shown.