Subversion Repositories tpanel

Rev

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

Rev 406 Rev 412
Line 306... Line 306...
306
        char unk6{0x0f};        // 0x11:        Always 0x0f
306
        char unk6{0x0f};        // 0x11:        Always 0x0f
307
        uint16_t count{0};      // 0x12 - 0x13: Counter
307
        uint16_t count{0};      // 0x12 - 0x13: Counter
308
        uint16_t MC{0};         // 0x14 - 0x15: Message command identifier
308
        uint16_t MC{0};         // 0x14 - 0x15: Message command identifier
309
        ANET_DATA data;         // 0x16 - n     Data block
309
        ANET_DATA data;         // 0x16 - n     Data block
310
        unsigned char checksum{0};  // last byte:   Checksum
310
        unsigned char checksum{0};  // last byte:   Checksum
-
 
311
        bool intern{false};     // Internal command
311
 
312
 
312
        void clear()
313
        void clear()
313
        {
314
        {
314
            ID = 0x02;
315
            ID = 0x02;
315
            hlen = 0;
316
            hlen = 0;
Line 323... Line 324...
323
            port2 = 0;
324
            port2 = 0;
324
            unk6 = 0x0f;
325
            unk6 = 0x0f;
325
            count = 0;
326
            count = 0;
326
            MC = 0;
327
            MC = 0;
327
            checksum = 0;
328
            checksum = 0;
-
 
329
            intern = false;
328
        }
330
        }
329
    } ANET_COMMAND;
331
    } ANET_COMMAND;
330
 
332
 
331
    typedef struct
333
    typedef struct
332
    {
334
    {