pradeep shekhar
/
Beacon_BAE_intergration_test_3
General testings
Fork of BEACON_CODE_NEW by
Diff: BCN.h
- Revision:
- 3:60598b6b5778
- Parent:
- 1:e4b70669ae61
--- a/BCN.h Mon Nov 02 14:22:50 2015 +0000 +++ b/BCN.h Wed Apr 13 13:04:48 2016 +0000 @@ -11,13 +11,13 @@ #define SHORT_TX_DATA 60 //in bytes #define LONG_TX_DATA 75 //in bytes -//#define RF_SILENCE_TIME 35*60 -#define RF_SILENCE_TIME 5 //changed for testing +//#define RF_SILENCE_TIME 5 //in seconds +#define RF_SILENCE_TIME 10 //FUNCTION PROTOTYPING -void FCTN_BCN_INIT(); -void FCTN_BCN_FEN(); -void FCTN_BCN_TX_MAIN(); +void P_BCN_INIT(); +void P_BCN_FEN(); +void P_BCN_TX_MAIN(); void Set_BCN_TX_STATUS(uint8_t); uint8_t check_Temperature(); void SHORT_BCN_TX(); @@ -26,9 +26,9 @@ void writereg(uint8_t,uint8_t); uint8_t readreg(uint8_t); void clearTxBuf(); -uint8_t setFrequency(double); +uint8_t setFrequency(double,float); bool Check_ACK_RECEIVED(); -void reset_rfm(); +void reset_uC(); #define RF22_MAX_MESSAGE_LEN 255