Scripting Guide

NAURTECH WEB BROWSER AND TERMINAL EMULATION FOR WINDOWS CE AND WINDOWS MOBILE
CETerm Scripting Guide Page 32
object = SerialPort ( index )
Return the corresponding SerialPort object. Valid index values are 0 through 9.
See Chapter 5 for details on how to use the SerialPort object.
status = Vibrate( durationMillisec )
Activate the device vibrator for the specified duration in milliseconds. Return 0
on success or -1 otherwise. For most devices, this method is synchronous and
will not return until the vibration is complete.
Properties
The Device object has the following properties.
Property
Description
Values
GPS
Returns the GPS object. This object
provides access to GPS actions. (read
only)
object
Keyboard
Returns the Keyboard object. This object
provides access to keyboard actions.
(read only)
object
RFID
Returns the RFID object. This object
provides access to the RFID device. The
RFID object is available only in select
builds of CETerm and is documented
separately. (read only)
object
Speech
Returns the Speech object. This object
provides access to the Speech features.
The Speech object is available only in
select builds of CETerm and is
documented separately. (read only)
object
Trigger
Returns the Trigger object. This object
provides access to hardware trigger
features. The Trigger object is available
only for limited devices and is
documented separately. (read only)
object
LastError
Returns the last Windows error related to
the Device object. (read only)
unsigned
integer