Compare commits
3 Commits
95f252768f
...
bf9e6c3ebe
Author | SHA1 | Date | |
---|---|---|---|
bf9e6c3ebe | |||
7fa7755466 | |||
60c06d65e2 |
39
IOT/archi global.puml
Normal file
39
IOT/archi global.puml
Normal 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
|
@ -16,7 +16,7 @@ build_flags =
|
|||||||
|
|
||||||
;;; FDRS config
|
;;; FDRS config
|
||||||
|
|
||||||
-D FDRS_DEBUG ; Enable USB-Serial debugging
|
; -D FDRS_DEBUG ; Enable USB-Serial debugging
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,13 +8,6 @@
|
|||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
#include <fdrs_gateway.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() {
|
void setup() {
|
||||||
beginFDRS();
|
beginFDRS();
|
||||||
}
|
}
|
||||||
|
BIN
chiffrage IOT.xlsx
Normal file
BIN
chiffrage IOT.xlsx
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user