/****************************************************************************
 Template header file for Hierarchical Sate Machines AKA StateCharts
 02/08/12 adjsutments for use with the Events and Services Framework Gen2
 3/17/09  Fixed prototpyes to use Event_t
 ****************************************************************************/

#ifndef CheckinSM_H
#define CheckinSM_H

#include "ES_Configure.h"
#include "ES_Framework.h"

// typedefs for the states
// State definitions for use with the query function
typedef enum { GETTING_FREQUENCY_1, SENDING_FREQUENCY_1, GETTING_FREQUENCY_2, SENDING_FREQUENCY_2} CheckinState_t ;

// Public Function Prototypes

ES_Event RunCheckinSM( ES_Event CurrentEvent );
void StartCheckinSM ( ES_Event CurrentEvent );
CheckinState_t QueryCheckinSM ( void );

#endif /*CheckinSM_H */