Serial Input Tester

Demonstrates a simple input field that accepts input only from a serial connection, e.g., terminal emulator(desktop keyboard) or bar code reader.

First serial field on page defaults to curSerField. Current field (curSerField) is filled in by the endpoint (via handleInput). After fill-in (up to return), it automatically selects next field on page; or a tap a different field to make it current. Label (if any) is displayed in bold, smaller font.

This example is currently 2.x only. It's also possible to use Sloup to create a serial (or other) connection rather than define our own explicit endpoint.

ser field 1

ser field 2

ser field 3 (no label?)

next page

typing should go nowhere (no current/visible ser field)

© Copyright 1998-2007, S. Weyer. All Rights Reserved Worldwide