Commit Graph

17 Commits

Author SHA1 Message Date
DevilBinder
33809f569d Condense into a single sensor file 2022-06-20 21:50:02 +02:00
Timm Bogner
38a4214039 reverted to 'sensor_setup.h'
I will probably go back to "sensor_config" eventually.
2022-06-12 23:22:09 -05:00
Timm Bogner
1db609b3b8 fixed things 2022-06-07 20:07:30 -05:00
Timm Bogner
2c2e1313fa ope. 2022-05-31 16:42:19 -05:00
Timm Bogner
7cdec6e6d8 homogenized the examples 2022-05-31 15:32:12 -05:00
sensorsiot
fc117c1f42 On the way back to a working example 2022-05-26 10:56:51 +02:00
sensorsiot
56fa9c9bf2 Introduced topics for data, command, and status 2022-05-22 23:35:31 +02:00
sensorsiot
b5082b3f33 Adapted the numbering of the nodes to the numbers of the diagram 2022-05-22 22:56:58 +02:00
sensorsiot
f165cfd20e Removed Datareading.h file and transferred sensor definitions to default.h 2022-05-22 22:30:12 +02:00
sensorsiot
99a29a3f1e Gateway default actions
For the moment there are no default actions because they have to be defined for each device
There is also no default UNIT_MAC. Therefore they do not belong into the default.h
2022-05-22 20:44:02 +02:00
sensorsiot
dca34a2bfb Node definitions and loraAddress
LoRaAddress[] = {0x42, 0x00}; must not be changed. Therefore it belongs to the default.h

proper node definitions for our scenario added
2022-05-22 20:25:43 +02:00
sensorsiot
4f8012bac5 Further cleanup 2022-05-22 16:10:33 +02:00
sensorsiot
c9d45223c2 Changed default management and introduced a directory for the libraries folder 2022-05-22 13:51:52 +02:00
sensorsiot
027a75df60 Added a default.h file to the sensors files
and took the else out (no more needed because now defined in default.h
Added band in default.h

Band should be renamed to FREQUENCY (because it defines the frequency)
2022-05-22 09:37:13 +02:00
sensorsiot
5500ab271b Added an example to the sensor sketch 2022-05-22 01:16:14 +02:00
sensorsiot
aee0ada35e Debugging enhanced
Definition of DEBUG in the main sketch (easy to change)
DBG definition
Use Serial2 instead of Serial1 for the ESP32
Changed the concept of UART.IF in the -5 sketch: Debug is always Serial and the ESP32 gets an additional Serial2 for communication

esp_now_peer_info_t peerInfo; seems not needed anymore

added a ROLE definition. With this definition it should be possible to have the same directory for all roles. We can discuss this in Skype if you want
2022-05-21 23:50:45 +02:00
Timm Bogner
269dc5c0d2
Add files via upload 2022-05-20 21:05:29 -05:00