Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for screens transmitted over multiple packets #38

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

singe
Copy link

@singe singe commented Jul 17, 2017

Some screens are transmitted over multiple packets. In particular more
than one writeToDisplay commands to build up a full screen. Right now
processSOH() calls clearTable() every time, even if the screen isn't
cleared. This resets the fields, which means any input fields from the
earlier packet are no longer seen as input fields. Any input to these
fields results in a "Cancel Invite Operation" being sent to the host
which responds with "Cursor in protected area of display."

By simply commenting out this call to clearTable() and relying on the
clearTable() call from clearAll() we avoid this problem, without
breaking rendering or other field functions.

This hasn't been heavily tested.

singe and others added 3 commits July 17, 2017 09:55
Some screens are transmitted over multiple packets. In particular more
than one writeToDisplay commands to build up a full screen. Right now
processSOH() calls clearTable() every time, even if the screen isn't
cleared. This resets the fields, which means any input fields from the
earlier packet are no longer seen as input fields. Any input to these
fields results in a "Cancel Invite Operation" being sent to the host
which responds with "Cursor in protected area of display."

By simply commenting out this call to clearTable() and relying on the
clearTable() call from clearAll() we avoid this problem, without
breaking rendering or other field functions.

This hasn't been heavily tested.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants