Hi Shubham I am just using this to test PYLD code
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of COM_MNG_TMTC_SIMPLE by
Diff: Structures.h
- Revision:
- 133:56d37aa8a011
- Parent:
- 103:b55559925dc1
diff -r 8a7bee7b8e8b -r 56d37aa8a011 Structures.h --- a/Structures.h Fri Feb 26 13:01:11 2016 +0000 +++ b/Structures.h Tue Mar 01 12:35:49 2016 +0000 @@ -46,7 +46,7 @@ #define GETshort_or_long_tc(x) ( ( (x->flags) & SHORT_LONG_TC_MASK ) >> 4 ) #define GETcrc_pass(x) ( ( (x->flags) & CRC_MASK ) >> 3 ) #define GETabort_on_nack(x) ( ( (x->TC_string[1]) & 0x08 ) >> 3 ) -#define GETapid(x) ( ( (x->TC_string[1]) & 0xA0 ) >> 6 ) +#define GETapid(x) ( ( (x->TC_string[1]) & 0xC0 ) >> 6 ) #define GETexec_status(x) ( (x->flags) & EXEC_STATUS_MASK ) #define GETpacket_seq_count(x) (x->TC_string[0]) #define GETservice_type(x) ( (x->TC_string[2]) & 0xF0 )