Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

28 righe
663 B

  1. /*
  2. * File: MasterCtrlInterface.h
  3. * Author: JF
  4. *
  5. * Created on March 31, 2017, 2:41 PM
  6. */
  7. #ifndef MASTERCTRLINTERFACE_H
  8. #define MASTERCTRLINTERFACE_H
  9. enum eMasterConnectionStates
  10. {
  11. MASTER_STATE_DISCONNECTED,
  12. MASTER_STATE_CONNECTING,
  13. MASTER_STATE_CONNECTED
  14. };
  15. int InitMasterCtrlIF(void);
  16. int ConnectToMasterCtrl(void);
  17. void TickMasterCtrlInterface(void);
  18. void MasterCtrlSM(int Event);
  19. void NewMasterMessageReceived(char* Message);
  20. bool SendFrame(unsigned char DestDevice,unsigned char DestAddress, unsigned char SenderDevice, unsigned char Cmd, unsigned char *Data,unsigned int Size,unsigned char Flags);
  21. #endif /* MASTERCTRLINTERFACE_H */