Update README.md

pull/7/head
Timm Bogner 3 years ago committed by GitHub
parent b0ab9d67f1
commit 10514e2885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,7 @@ typedef struct DataReading {
uint8_t t;
} DataReading;
```
Each node in the system sends its data over ESP-NOW as a float 'd' inside of a structure called a DataReading. Its global address is represented by an integer 'id', and has a type represented by a single byte 't'. If a sensor is capable of multiple types of readings (ex: temp and humidity), they are send in an array.
Each node in the system sends its data over ESP-NOW as a float 'd' inside of a structure called a DataReading. Its global address is represented by an integer 'id', and has a type represented by a single byte 't'. If a sensor is capable of multiple types of readings (ex: temp and humidity), they are sent in an array.
## Terminal
A terminal is a device that recieves data from the nodes and aggregates it into a larger array. The larger array is then periodically sent forward through the system to the gateway. The time between sends must be short enough so as not to exceed the maximum legnth of an ESP-NOW packet with DataReadings, which is 31.

Loading…
Cancel
Save