Intermec 700 Series User Manual page 319

Color mobile computer
Hide thumbs Also See for 700 Series:
Table of Contents

Advertisement

// port = DOCK_MODEM or DOCK_SERIAL as defined in oemioctl.h
BOOL SetDockSwitch( BYTE port)
{
DWORD cmd = ITC_DOCK_SWITCH;
DWORD cbRet;
return KernelIoControl(IOCTL_HAL_ITC_WRITE_SYSPARM,&cmd, sizeof(cmd),
&port,sizeof(port),&cbRet)
}
700 Series Color Mobile Computer User's Manual
S ITC_ DOCK_SWITCH
This IOCTL sets a position of the dock switch. The dock switch may
be set to either "modem" or "serial" positions. lpOutBuf must point to a
buffer that contains a byte value of either DOCK_MODEM or
DOCK_SERIAL as defined in OEMIOCTL.H; the value specifies the
position the switch is to be set. The call appears as follows:
S ITC_ WAKEUP_MASK
This IOCTL sets a bit mask that represents the mask for the five pro-
grammable wakeup keys. The I/O key is not a programmable wakeup
key. By default it is always the system resume key and all other keys are
set to disable key wakeup. A zero in a bit position masks the wakeup for
that key. A one in a bit position enables wakeup for that key. lpOutBuf
must point to a buffer that contains a byte value of a wakeup mask con-
sisting of the OR'ed constants as defined in OEMIOCTL.H. Only the
following keys are programmable as wakeup events.
#define
SCANNER_TRIGGER 1
#define
SCANNER_LEFT
#define
SCANNER_RIGHT
#define
GOLD_A1
#define
GOLD_A2
S ITC_AMBIENT_KEYBOARD
This IOCTL sets the threshold for the keypad ambient sensor. This can
be a value from 0 (always off) to 255 (always on). lpOutBuf must point
to a buffer that contains a byte value of the desired setting.
S ITC_AMBIENT_FRONTLIGHT
This IOCTL sets the threshold for the frontlight ambient sensor. This
can be a value from 0 (always off) to 255. lpOutBuf must point to a
buffer that contains a byte value of the desired setting.
Chapter 7
2
4
8
0x10
Programming
297

Advertisement

Table of Contents
loading

Table of Contents