Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 27
// Request for a mode change to the next mode
// or peek at primary time zone
CORE_REQ_MODE_CHANGE_NEXT;
break;
}
}
The kernel provides two routines that will handle the basic banner state functionality that may be required
by an application.
coreCommonBannerStateHandler
Common State Banner Handler
coreCommonBannerStateHandlerWithPassword
Common Banner State Handler with check
for password.
When the above routines are used, the banner state handler will be coded as follows:
cntwaBannerStateManager: ;**SUBROUTINE cntwaBannerStateManager
car coreCommonBannerStateHandler
ret
;**END SUBROUTINE cntwaBannerStateManager
If password protection is required for the mode, then the banner state handler will be coded as follows:
cntwaBannerStateManager: ;**SUBROUTINE cntwaBannerStateManager
car coreCommonBannerStateHandlerWithPassword
ret
;**END SUBROUTINE cntwaBannerStateManager
If the routine coreCommonBannerStateHandlerWithPassword is used, then state index 5,6, and
7 should be coded as shown below:
For state handler index 5:
cntIndex5StateManager: ;**SUBROUTINE cntIndex5StateManager
car corePasswordDefaultStateHandler
ret
;**END SUBROUTINE cntIndex5StateManager
For state handler index 6:
cntIndex6StateManager: ;**SUBROUTINE cntIndex6StateManager
car corePasswordSetBannerStateHandler
ret
;**END SUBROUTINE cntIndex6StateManager
For state handler index 7:
cntIndex7StateManager: ;**SUBROUTINE cntIndex7StateManager
car corePasswordSetStateHandler
ret
;**END SUBROUTINE cntIndex7StateManager