/* 
 * File:   MasterCtrlInterface.h
 * Author: JF
 *
 * Created on March 31, 2017, 2:41 PM
 */

#ifndef MASTERCTRLINTERFACE_H
#define	MASTERCTRLINTERFACE_H

enum eAudioConsoleIFConnectionStates
{
    AUDIO_CONSOLE_IF_DISCONNECTED,
    AUDIO_CONSOLE_IF_CONNECTING,
    AUDIO_CONSOLE_IF_CONNECTED
};

int AudioConsoleInterfaceInit(void);
void AudioConsoleInterfaceSM(int Event);
void AudioConsoleIFExecuteMasterCommand(unsigned char SenderID, unsigned char Command, unsigned char *Data, int DataSize);
void AudioConsoleSendCommand(int Command, unsigned char *Data, unsigned int DataSize);
//bool SendFrame(unsigned char DestDevice,unsigned char DestAddress, unsigned char SenderDevice, unsigned char Cmd, unsigned char *Data,unsigned int Size,unsigned char Flags);


#endif	/* MASTERCTRLINTERFACE_H */

