Repository for CDMS code

Dependencies:   SimpleDMA mbed-rtos mbed eeprom

Fork of COM_MNG_TMTC_SIMPLE by Shreesha S

Files at this revision

API Documentation at this revision

Comitter:
aniruddhv
Date:
Mon Apr 18 10:41:25 2016 +0000
Parent:
156:f661cf9e02d1
Child:
169:451b54864992
Commit message:
changed BCN to FMS

Changed in this revision

COM_POWER_OFF_TX.h Show annotated file Show diff for this revision Revisions of this file
COM_POWER_ON_TX.h Show annotated file Show diff for this revision Revisions of this file
DefinitionsAndGlobals.h Show annotated file Show diff for this revision Revisions of this file
--- a/COM_POWER_OFF_TX.h	Wed Apr 13 12:19:35 2016 +0000
+++ b/COM_POWER_OFF_TX.h	Mon Apr 18 10:41:25 2016 +0000
@@ -65,12 +65,12 @@
     beacon_tc->TC_string[0] = 0x01;\
     beacon_tc->TC_string[1] = BCN_APID_SOURCE;\
     beacon_tc->TC_string[2] = BCN_SERVICE;\
-    beacon_tc->TC_string[3] = BCN_ENABLE_PID;\
+    beacon_tc->TC_string[3] = 0xE2;\
     beacon_tc->TC_string[4] = 0x00;\
     beacon_tc->TC_string[5] = 0;\
     beacon_tc->TC_string[6] = 0;\
     beacon_tc->TC_string[7] = 0;\
-    beacon_tc->TC_string[8] = 0x01;\
+    beacon_tc->TC_string[8] = 0;\
     uint16_t crc16 = crc16_gen(beacon_tc->TC_string, 9);\
     beacon_tc->TC_string[9]  = (crc16 & 0xFF00)>>8;\
     beacon_tc->TC_string[10] = (crc16 & 0x00FF);\
--- a/COM_POWER_ON_TX.h	Wed Apr 13 12:19:35 2016 +0000
+++ b/COM_POWER_ON_TX.h	Mon Apr 18 10:41:25 2016 +0000
@@ -7,8 +7,8 @@
     beacon_tc->TC_string[0] = 0x01;\
     beacon_tc->TC_string[1] = BCN_APID_SOURCE;\
     beacon_tc->TC_string[2] = BCN_SERVICE;\
-    beacon_tc->TC_string[3] = BCN_DISABLE_PID;\
-    beacon_tc->TC_string[4] = 0x00;\
+    beacon_tc->TC_string[3] = 0xE2;\
+    beacon_tc->TC_string[4] = 0x01;\
     beacon_tc->TC_string[5] = 0;\
     beacon_tc->TC_string[6] = 0;\
     beacon_tc->TC_string[7] = 0;\
--- a/DefinitionsAndGlobals.h	Wed Apr 13 12:19:35 2016 +0000
+++ b/DefinitionsAndGlobals.h	Mon Apr 18 10:41:25 2016 +0000
@@ -125,8 +125,6 @@
 //BEACON
     #define BCN_APID_SOURCE 0x41
     #define BCN_SERVICE 0x81
-    #define BCN_ENABLE_PID 0x15
-    #define BCN_DISABLE_PID 0x25
     
 //BAE
     #define BAE_APID_SOURCE 0x81