Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Smart tx take two - refinement #116

Closed
wants to merge 5 commits into from

Conversation

susisstrolch
Copy link

Changed the send BRK loopback sniffing to a fixed amount (approx. 3char length).
Also added a watchdog counter when waiting for Rx chars

Susis Strolch added 4 commits May 22, 2019 23:47
redesigned Tx logic - monitor EMSBus after sending any data
we avoid the loopback mode, but still send with interrupts disabled.
So we collect all Rx chars in FIFO to allow processing.
After last Rx-char we enable interrupts and send the BRK.
…mart-tx-TakeTwo

* 'dev' of https://github.com/proddy/EMS-ESP-Boiler:
  poll from milli to micro secs for better accuracy
  fixed trailing ; in Tx
  emsesp#103 (comment)
  tx logic
  empty rx fifo after Tx BRK
  cleanup
  tx logic "take two"
  small change to serial for easier debugging
  EMS Tx del
  disabled tx code for mode 2 until we've fixed it
  susisstrolch's Tx "take two" mod
@susisstrolch susisstrolch deleted the smart-tx-TakeTwo branch May 27, 2019 08:17
Copy link
Collaborator

@proddy proddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these changes are out of sync with the updates I made yesterday. Can you refresh emsuart.cpp and then re=apply the changes?

@susisstrolch
Copy link
Author

susisstrolch commented May 27, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants