Configuration according to flowchart included. (UPTO PHY_ON). INclusion of #define functions

Dependencies:   mbed

Fork of send_tn_intgration_sss by krishan prajapat

structures.h

Committer:
dheerajmpai23
Date:
2016-01-13
Revision:
5:9664602e1ceb
Parent:
0:da506debc107

File content as of revision 5:9664602e1ceb:

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;
    bool valid_execution;
 
    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;
    int number;
    struct TM_list *next_TM;
    
    ~TM_list(){}
}TM_List;