/****************************************************************************
 
  Header file for BeamBreak service 
  based on the Gen 2 Events and Services Framework

 ****************************************************************************/

#ifndef ByteTransfer_H
#define ByteTransfer_H

// State definitions for use with the query function
typedef enum { BTWaiting2Start, BTWaiting4EOT, BTWaiting4Timeout } ByteTransfer_State_t ;

// Public Function Prototypes
bool InitByteTransferSM ( uint8_t Priority );
bool PostByteTransferSM( ES_Event_t ThisEvent );
ES_Event_t RunByteTransferSM ( ES_Event_t CurrentEvent );
void StartByteTransferSM ( ES_Event_t CurrentEvent );

#endif