Subversion Repositories HomeAutomation

Rev

Rev 73 | Blame | Last modification | View Log | SVN | RSS feed

  1. /**
  2.  * Parser for the home automation protocol.
  3.  *
  4.  * @date    2006-10-29
  5.  * @author  Jimmy Myhrman
  6.  */
  7.  
  8. /*-----------------------------------------------------------------------------
  9.  * Includes
  10.  *---------------------------------------------------------------------------*/
  11. #include <protocol.h>
  12. #include <can.h>
  13.  
  14. /*-----------------------------------------------------------------------------
  15.  * Public Functions
  16.  *---------------------------------------------------------------------------*/
  17.  
  18. void ProtocolParseCanMessage(Can_Message_t *cmsg) {
  19.     /* parse as protocol message */
  20.     ProtocolMessage_t pmsg;
  21.     pmsg.Header.Raw = cmsg->Id;
  22. }
  23.