Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual Page 101

  • Download
  • Add to my manuals
  • Print
  • Page
    / 164
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 100
NAURTECH WEB BROWSER AND TERMINAL EMULATION FOR WINDOWS CE AND WINDOWS MOBILE
CETerm Scripting Guide Page 101
if (rfStatus > 0)
{
// RF detected
// Delayed playsound, increase delay for WEP if needed
CETerm.SetTimeout( "RFWakeupSoundPlay();", 100 );
RFWakeupSoundContinue = 0;
}
else if (RFWakeupSoundCount > RFWakeupSoundCountMaximum)
{
// Failed to get RF, show failure message.
OS.Alert( "Failed to detect RF signal.\n" +
"Return to coverage area." );
RFWakeupSoundContinue = 0;
}
if (RFWakeupSoundContinue)
{
if (!(RFWakeupSoundCount % 5))
{
// Play "tick" sound while check is running.
CETerm.PlaySound( "MenuPop" );
}
// Schedule next RF check
RFWakeupSoundTimerID = CETerm.SetTimeout(
"RFWakeupSoundOnTimer();",
RFWakeupSoundInterval );
}
}
function RFWakeupSoundPlay()
{
// Select any wave file on device for notification.
CETerm.PlaySound( "infbeg" );
}
Page view 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 163 164

Comments to this Manuals

No comments