Subversion Repositories HomeAutomation

Rev

Rev 434 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 434 Rev 452
Line 8... Line 8...
8
    const byte DEBUG_LEVEL = 3; //0, 1, 2, 3
8
    const byte DEBUG_LEVEL = 3; //0, 1, 2, 3
9
    static SerialConnection sc;
9
    static SerialConnection sc;
10
    static Daemon d;
10
    static Daemon d;
11
    static TcpServer tcps;
11
    static TcpServer tcps;
12
    //static Downloader dl;
12
    //static Downloader dl;
13
   
-
 
14
    //private const byte CAN_NMT = 0x00;
-
 
15
   
-
 
16
    //private const byte CAN_NMT_RESET = 0x04;
-
 
17
    //private const byte CAN_NMT_START_APP  = 0x24;
-
 
18
    //private const byte CAN_NMT_APP_START  = 0x28;
-
 
19
    private const byte MY_ID = 0x00;
-
 
20
    private const byte MY_NID = 0x0;
-
 
21
   
13
   
22
    static private string argPort;
14
    static private string argPort;
23
    static private int argBaud;
15
    static private int argBaud;
24
   
16
   
25
    static void Main(string[] args) {
17
    static void Main(string[] args) {