APPENDIX B
Common PEN*KEY 6000 Series Information
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide B-19
Event
Response
OEM_POD2
No action.
OEM_EXTRING
No action.
OEM_PCMCIA
No action.
OEM_ALARM
No action.
OEM_PENDOWN
No action.
OEM_SUSPEND
See APMSUSPEND.
OEM_RESUME
See APMRESUME.
OEM_BUBLOW
Should never see this message.
OEM_MB0
Should never see this message.
OEM_MB10
Should never see this message.
OEM_MB20
Should never see this message.
OEM_MB30
Should never see this message.
OEM_PDOOR
No action.
OEM_IKBD
No action.
OEM_PWRFAIL
Should never see this message.
OEM_PWRTICK
No action.
OEM_EL
No action.
Main battery removed
Too late to do anything.
These programs provide the following functionality:
Function
Definition
Default
Value
Main Battery
Radio Power Off
Threshold
Battery value at which radio is powered off irrevocably to conserve
backup battery. May be implemented as minimum voltage level,
maximum voltage drop, voltage factored by battery temperature, or
combination. Unfortunately, no amperage value is available.
30 minutes
Application
activity period
How long WANPOWER holds PEN*KEY HHC up in anticipation of
application activity for radio
1 minute
WANPOWER
interval
How often WANPOWER wakes up to check battery or maintain radio,
or both.
10 seconds
DOS Programs
The DOS TSR provides the functionality for WANPOWER. It hooks INT 2Fh for
APM events, causes the clock to reawaken itself, and uses the INT 15h PropriĆ
etary Interface to check battery status.
The TSR determines the type of radio, if possible, and sets the appropriate deĆ
faults. The user may override these defaults via the command line or through
the DOS API.
The TSR supports the DOS API through an extended INT 2F interface.
The TSR removes itself from memory when Windows is invoked and reinserts
itself when Windows terminates.
Function
INT
AX
BX
Contents of CX
Threshold
2Fh
BC01h
xxxxh
CX = Threshold
Activity period
2Fh
BC01h
xxxxh
CX = Period in seconds
WakeĆup interval
2Fh
BC01h
xxxxh
CX = Period in seconds
Power
2Fh
BC01h
xxxxh
CX = 1 or 0
Battery
2Fh
BC01h
xxxxh
CX = 1 or 0
B. Common PEN*KEY
6000 Series Info.