Alarm Functions

Download the inPulse SDK
/**
 * Set the alarm
 *
 * Note: this alarm will also wake the processor and call your function
 *       if you registered one with pulse_register_callback() of type
 *       ACTION_ALARM_FIRING. This alarm is persistent across watch
 *       resets.
 *
 * @param alarm_data   Pointer to a populated struct of alarm_data.
 *
 * Note: Internally, this data is copied, so once it is set, this struct
 *       can be discarded. Also, this setting persists across watch
 *       resets.
 *
 * Simulator status: Not Yet Implemented
 */

void pulse_set_alarm(PulseAlarm * alarm_data);

/**
 * Get the active alarm
 *
 * @return           Pointer to a populated PulseAlarm struct
 *
 * Simulator status: Not Yet Implemented
 */

PulseAlarm * pulse_get_alarm();