Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 31
These state handlers are designed to function in a predefined manner that are used by the built-in ROM
applications. They should be used as intended.
State Handler Description
coreCommonBannerStateHandler
Handles mode banner state processing.
Displays either the default mode banner
message or the user defined mode banner
stored in EEPROM;
Waits for 1.5 seconds prior to requesting
a state change to default state index;
Process Mode Switch depression to
proceed to the next mode;
Setup the popup return state to be the
default state index;
Process the Crown_Set event to proceed
to the Set Banner State index;
Process the other switches to bypass the
1.5 second timeout and request a state
change to the default state index.
coreCommonBannerStateHandlerWithPassword
Handles mode banner state processing.
Displays either the default mode banner
message or the user defined mode banner
stored in EEPROM;
Waits for 1.5 seconds prior to requesting
a state change to default state index;
Process Mode Switch depression to
proceed to the next mode;
Setup the popup return state to be the
default state index;
Checks if the mode is currently setup to
request a password prior to proceeding to
the default state index;
If Password Not Required:
o Process the Crown_Set event to proceed
to the Set Banner State index;
o Process the other switches to bypass the
1.5 second timeout and request a state
change to the default state index.
If Password is required:
o Process Crown_set event to proceed to
the Password Set Banner state index;
o Process the other switches to bypass the
1.5 second timeout and request a state
change to the Password Default State
index.
corePasswordDefaultStateHandler
Handles the following:
Displays the message “PASSWORD
NEEDED”;
Process the Crown_Set event to request a
state change to the Password Set Banner
state index;
Process the Mode switch to proceed to the
next mode;
corePasswordSetBannerStateHandler
Handles the following: