CIQ/SDK Feature Request - Widget wakeup

Former Member
Former Member
Hi,
This is a feature request rather than an App suggestion.

Would it be possible to add an OS feature to wake up widgets under certain conditions?
e.g. something like:
System.registerWakeUpEvent( method( :onGpsEvent ), System.WU_EVENT_GPS, [ Location, Radius ] );
System.registerWakeUpEvent( method( :onHrEvent ), System.WU_EVENT_HEARTRATE, [ minRate, targetRate, maxRate ] );
System.registerWakeUpEvent( method( :onGoalEvent ), System.WU_EVENT_GOAL_STEPS, null );
...
function onGpsEvent( loc, direction )
{
// do something location related
// direction = true: entering Geofence, false: leaving Geofence
}
...
function onHrEvent( rate )
{
// do something heart rate related
// e.g. send a warning web request to a health monitoring system
}
...
function onGoalEvent( goal )
{
// do something goal
}


The OS would bring the Widget to the foreground and do an attention beep perhaps?
I'm hoping this wouldn't add much to the idle power budget of the watch and open the door to all sorts of possibilities for the IoT world (home automation, healthcare, etc.)

If I could have this by next week and available on the Forerunner 235, I'd be very grateful ;-)
Cheers,
Oliver
  • Would it be possible to add an OS feature to wake up widgets under certain conditions?

    The OS would bring the Widget to the foreground and do an attention beep perhaps?


    Nice idea (and pseudo code).

    How do you think you'll solve the problem of launching multiple widgets / apps that have all registered the same callback? ie; step goal.

    What IoT apps you got in mind?
  • The 1.2.0 BETA SDK did include some functionality that allowed an app to schedule wakeups, but it was dropped when the 1.2.0 SDK was released. It wouldn't be the same as what you've proposed here, but it was something that was being toyed with last year.

    Travis