Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By strolch
#1619 I'm planning a home automation project where I want to communicate with the central heating.
The heating uses a <BRK> terminated protocol.
From the header files I saw that the serial line is capable to interrupt on received brks. There's
also a brk flag on the tx channel.
What I'd like to know (and I'm not talking about the degraded uart driver of the at example):
- which condition resets the "rx-brk" flag?
- what data contains the rx register when a brk is received? (0x00???)
- is the tx-brk automatically handled (based on tx clock rate) when setting the flag or do I need
to do the timing myself to reset the tx-brk?
- do I have to send a dummy char when emitting a tx-brk?

(I'm still waiting for the ack of the NDA - so I hope answering those infos - if available at all - don't break others NDA)