Dummy program to demonstrate problems: working code

Dependencies:   SLCD mbed-rtos mbed

Fork of MNG_TC by Shreesha S

Structures.h

Committer:
shreeshas95
Date:
2015-07-13
Revision:
8:cb93c1d3209a
Parent:
2:994e741028c7
Child:
12:f41a11dc0119
Child:
13:7b27a8e9cbb4

File content as of revision 8:cb93c1d3209a:

typedef struct TC_list{
    // received from the RCV_TC
    unsigned char *TC_string;
    bool short_or_long; //'true' for short
    bool crc_pass;

    // updated info - updated in MNG_TC
    unsigned char packet_seq_count;
    unsigned char apid;
    bool abort_on_nack;
    bool enabled;
    unsigned char exec_status;
    /*
    0 : not executed
    1 : executed successfully
    2 : execution failed
    */

    struct TC_list *next_TC;
    
    ~TC_list(){}
}TC_list;

typedef struct TM_list{

    unsigned char *TM_string;
    // bool short_or_long; // true for short
    // pass while calling the function
    unsigned char tmid;

    struct TM_list *next_TM;
    
    ~TM_list(){}
}TM_List;