Compare commits
No commits in common. "bf9e6c3ebee0a2cb1c7d1dccef8700062fb8ffb8" and "95f252768f5b6725bb640feb11e3f9f15f7a664c" have entirely different histories.
bf9e6c3ebe
...
95f252768f
@ -1,39 +0,0 @@
|
||||
@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
|
||||
|
||||
; -D FDRS_DEBUG ; Enable USB-Serial debugging
|
||||
-D FDRS_DEBUG ; Enable USB-Serial debugging
|
||||
|
||||
|
||||
|
||||
|
@ -8,6 +8,13 @@
|
||||
#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();
|
||||
}
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user