-
Notifications
You must be signed in to change notification settings - Fork 10
Description
[EDITED with strikeouts where appropriate. See next post also]
We need to have an Echo Off feature (which is enabled by default; ie: echo is off by default).
This feature is needed because and electronic echo is always caused by the BASIC Stamp because of its circuitry. Anything transmitted to it is echoed back immediately to the sender (even if the BASIC Stamp is not powered).
The app has to purposely look for and remove echos in the Debug Terminal when the Echo Off feature is enabled. When this feature is enabled, any characters transmitted by Debug Terminal Transmit Pane activity should be counted matched (exactly, and in order, of course) and that same leading number of characters in the receive buffer and should be thrown away. In other words, the receive buffer parser must take the extra step to look for the same realize the count of the characters that were just transmitted (in order) and simply remove them from the stream before processing any further characters. One for one, in-order, match.
When the Echo Off feature is disabled, the special preprocessing of the receive buffer is not performed.
The related UI feature is noted in Issue #185.