bcn code modification for new short bcn format

Dependencies:   mbed

Fork of BEACON_CODE by pradeep shekhar

Revision:
15:8826cc77ada8
Parent:
14:a7dbfbc462f1
diff -r a7dbfbc462f1 -r 8826cc77ada8 beacon.h
--- a/beacon.h	Tue Oct 27 13:15:47 2015 +0000
+++ b/beacon.h	Wed Oct 28 13:29:02 2015 +0000
@@ -12,21 +12,13 @@
 #define LONG_TX_DATA 75    //in bytes      
 
 //#define RF_SILENCE_TIME 5   //in seconds
-#define RF_SILENCE_TIME 35*60
-
-//GLOBAL VARIABLES
-uint8_t BCN_INIT_STATUS;
-uint8_t BCN_TX_MAIN_STATUS;
-uint8_t BCN_TX_STATUS;
-uint8_t BCN_TX_EN = 1;              //hardcoding for now    //check where is this variable toggled??
-uint8_t BCN_FEN = 0;                //write this to non-erasable memory.
-uint8_t BCN_STANDBY = 0;            //hardcoding for now    //check where is this variable toggled??
-uint8_t BCN_TS_BUFFER;              // For Temperature 
+//#define RF_SILENCE_TIME 35*60
+#define RF_SILENCE_TIME 5 //changed for testing
 
 //FUNCTION PROTOTYPING
-void P_BCN_INIT();
-void P_BCN_FEN();
-void P_BCN_TX_MAIN();
+void FCTN_BCN_INIT();
+void FCTN_BCN_FEN();
+void FCTN_BCN_TX_MAIN();
 void Set_BCN_TX_STATUS(uint8_t);
 uint8_t check_Temperature();
 void SHORT_BCN_TX();