Subversion Repositories tpanel

Rev

Rev 235 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 235 Rev 326
Line 49... Line 49...
49
#define NSTATE_CONNECTING   9
49
#define NSTATE_CONNECTING   9
50
 
50
 
51
#define WAIT_RESET          3   // Number of seconds to wait in case of connecting to another controller
51
#define WAIT_RESET          3   // Number of seconds to wait in case of connecting to another controller
52
#define WAIT_RECONNECT      15  // Number of seconds to wait in case of reconnecting to the same controller
52
#define WAIT_RECONNECT      15  // Number of seconds to wait in case of reconnecting to the same controller
53
 
53
 
-
 
54
#define DTSZ_STRING         0x01    // ASCII string (8 bit)
-
 
55
#define DTSZ_WSTRING        0x02    // Wide string (16 bit)
-
 
56
#define DTSZ_BYTE           0x10    // Byte (8 bit unsigned)
-
 
57
#define DTSZ_CHAR           0x11    // Byte (8 bit signed)
-
 
58
#define DTSZ_UINT           0x20    // Word (16 bit unsigned)
-
 
59
#define DTSZ_INT            0x21    // Word (16 bit signed)
-
 
60
#define DTSZ_LUINT          0x40    // DWORD (32 bit unsigned)
-
 
61
#define DTSZ_LINTT          0x41    // DWORD (32 bit signed)
-
 
62
#define DTSZ_FLOAT          0x4f    // FLOAT (32 bit)
-
 
63
#define DTSZ_DOUBLE         0x8f    // DOUBLE (32/64 bit)
-
 
64
 
54
    typedef struct ANET_SEND
65
    typedef struct ANET_SEND
55
    {
66
    {
56
        uint16_t device{0};     // Device ID of panel
67
        uint16_t device{0};     // Device ID of panel
57
        uint16_t MC{0};         // message command number
68
        uint16_t MC{0};         // message command number
58
        uint16_t port{0};       // port number
69
        uint16_t port{0};       // port number