mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
Update README.md
Added message types
This commit is contained in:
@@ -200,12 +200,18 @@ Every telegram sent is echo'd back to Rx, along the same Bus used for all Rx/Tx
|
|||||||
|
|
||||||
## Ems Plus
|
## Ems Plus
|
||||||
In this chapter we will report our findings on the ems plus.
|
In this chapter we will report our findings on the ems plus.
|
||||||
### EMS Plus byte layout
|
### Message layout
|
||||||
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|
||||||
| - | - | - | - | - | - | - | - |
|
| - | - | - | - | - | - | - | - |
|
||||||
| 18 | 00 | FF | 03 | 01 | A5 | 28 | 46|
|
| 18 | 00 | FF | 03 | 01 | A5 | 28 | 46|
|
||||||
|transmitter| receiver | ems plus mark | message type | offset | ? | value | cnc
|
|transmitter| receiver | ems plus mark | message type | offset | ? | value | cnc
|
||||||
|
|
||||||
|
### Message types
|
||||||
|
| Message type | Definition |
|
||||||
|
|--------------|---------------------|
|
||||||
|
| 03 | Set temperature |
|
||||||
|
| 00 | Current temperature |
|
||||||
|
|
||||||
## The ESP8266 Source Code
|
## The ESP8266 Source Code
|
||||||
|
|
||||||
`emsuart.cpp` handles the low level UART read and write logic to the bus. You shouldn't need to touch this. All receive commands from the EMS bus are handled asynchronously using a circular buffer via an interrupt. A separate function processes the buffer and extracts the telegrams.
|
`emsuart.cpp` handles the low level UART read and write logic to the bus. You shouldn't need to touch this. All receive commands from the EMS bus are handled asynchronously using a circular buffer via an interrupt. A separate function processes the buffer and extracts the telegrams.
|
||||||
|
|||||||
Reference in New Issue
Block a user