Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

28 lignes
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 */