
77
Class Reference
4.4.2.2
isFull
The
storage.isFull
property is a read-only Boolean value;
true
if storage is full and
cannot be added to; otherwise,
false
.
4.4.2.3
logFullness_percent
The
storage.fullness_percent
property is a read-only integer containing the
percent of storage in use.
4.5
comm
The
comm
object models the host commutation feature of the handheld reader. Use the
methods and properties of the
comm
object to send either packet or text data to the host.
4.5.1
Methods
The following section documents the methods defined for the handheld
comm
object.
4.5.1.1
connect
The
connect
method instructs the handheld communication driver to attempt to establish
a connection.
Format:
result = comm.connect(try_until_timeout);
Where:
try_until_timeout
– Boolean; if
true
, the reader will attempt to try connecting for the
number of seconds defined in connectionTime_sec (register 0xd9). If
false,
reader will
try to connect once
result
– Boolean;
false
if there was a failure to connect; otherwise,
true
.
4.5.1.2
disconnect
The
disconnect
method instructs the handheld communication driver to disconnect from
the host.
Format and Example:
comm.disconnect();
Causes the reader to disconnect from the host.
4.5.1.3
sendPacket
The
sendPacket
method instructs the hanheld reader to send a data packet to the host
via the communications port currently specified by the active handheld communication
settings. The handheld creates a packet formatted according to the active handheld
packet protocol configuration setting.
For a discussion of data packets, see the Interface Configuration Document.