Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SimpleDMA eeprom mbed-rtos mbed FreescaleIAP
Fork of CDMS_CODE by
Revision 323:1f3c756e7b38, committed 2016-12-10
- Comitter:
- chaithanyarss
- Date:
- Sat Dec 10 12:41:58 2016 +0000
- Parent:
- 322:7d906d34aaff
- Child:
- 324:c0a5228cc666
- Commit message:
- Added MAX_MIN
Changed in this revision
| COM_MNG_TMTC.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/COM_MNG_TMTC.h Sat Dec 10 12:32:27 2016 +0000
+++ b/COM_MNG_TMTC.h Sat Dec 10 12:41:58 2016 +0000
@@ -436,7 +436,12 @@
tm_ptr->TM_string[1] = GETpacket_seq_count(tc_ptr);
tm_ptr->TM_string[2] = 0xA0;
tm_ptr->TM_string[3] = 0x00; //spare bits
+
+ if(mid == 0x0000)
FCTN_CDMS_RD_L_RAM(tm_ptr);
+ if(mid == 0x0001)
+ FCTN_CDMS_MAX_MIN(tm_ptr);
+
crc16 = crc16_gen(tm_ptr->TM_string,132);
tm_ptr->TM_string[132] = (uint8_t)((crc16&0xFF00)>>8);
tm_ptr->TM_string[133] = (uint8_t)(crc16&0x00FF);
