Subversion Repositories HomeAutomation

Rev

Rev 107 | Rev 126 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 107 Rev 111
Line 2... Line 2...
2
 *
2
 *
3
 *   Defines functs and funccs and other global definitions.
3
 *   Defines functs and funccs and other global definitions.
4
 *
4
 *
5
 *********************************************************************
5
 *********************************************************************
6
 * FileName:            $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/Include/funcdefs.h $
6
 * FileName:            $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/Include/funcdefs.h $
7
 * Last changed:    $LastChangedDate: 2006-11-15 17:32:04 +0100 (Wed, 15 Nov 2006) $
7
 * Last changed:    $LastChangedDate: 2006-11-15 18:53:50 +0100 (Wed, 15 Nov 2006) $
8
 * By:          $LastChangedBy: johboh $
8
 * By:          $LastChangedBy: johboh $
9
 * Revision:        $Revision: 107 $
9
 * Revision:        $Revision: 111 $
10
 ********************************************************************/
10
 ********************************************************************/
11
 
11
 
12
 
12
 
13
 
13
 
14
//<FUNCT>
14
//<FUNCT>
Line 47... Line 47...
47
#define BOOT_DATA_ADDRH_INDEX 1
47
#define BOOT_DATA_ADDRH_INDEX 1
48
#define BOOT_DATA_ADDRU_INDEX 2
48
#define BOOT_DATA_ADDRU_INDEX 2
49
#define BOOT_DATA_RID_LOW_INDEX 4
49
#define BOOT_DATA_RID_LOW_INDEX 4
50
#define BOOT_DATA_RID_HIGH_INDEX 5
50
#define BOOT_DATA_RID_HIGH_INDEX 5
51
#define BOOT_DATA_ERR_INDEX 4
51
#define BOOT_DATA_ERR_INDEX 4
52
#define BOOT_DATA_NEW_ID_LOW 0 
52
#define BOOT_DATA_NEW_ID_LOW_INDEX 0 
53
#define BOOT_DATA_NEW_ID_HIGH 1 
53
#define BOOT_DATA_NEW_ID_HIGH_INDEX 1 
54
#define BOOT_DATA_NEW_NID 2
54
#define BOOT_DATA_NEW_NID_INDEX 2
-
 
55
#define BOOT_DATA_HEARTBEAT_INDEX 0
55
 
56
 
56
//<ERR>
57
//<ERR>
57
// Value in BOOT_DATA_ERR_INDEX
58
// Value in BOOT_DATA_ERR_INDEX
58
#define ACK_ERR_NO_ERROR 0x00 //= no error
59
#define ACK_ERR_NO_ERROR 0x00 //= no error
59
#define ACK_ERR_ERROR 0x01 //= error
60
#define ACK_ERR_ERROR 0x01 //= error
-
 
61
 
-
 
62
//<HEART>
-
 
63
#define HEARTBEAT_BOOT_STARTUP 0x00
-
 
64
#define HEARTBEAT_USER_STARTUP 0x01
-
 
65
#define HEARTBEAT_ALIVE 0x02
-
 
66
 
-
 
67