#ifndef     _FUNC_DOWN_BEACON_INTF_H_
#define     _FUNC_DOWN_BEACON_INTF_H_

#include    "base_config.h"

#if (MD_DOWN_BEACON)
struct down_beacon_intf_STR{

    //--->>>func common interface
    void (*init)(void);                     //init parameter   
    //void (*enter)(void);                  //startup
    unsigned char (*execute)(void);         //execute in mainloop or timer isr
    // void (*exit)(void);                  //exit
    
    unsigned char (*get_status)(void);      //status get and set
    //void (*set_status)(unsigned char);       
    void (*pc_rx)(const unsigned char*);   	//communication with pc
		//void (*pc_rx_2)(const unsigned char*);
     void (*kp_rx)(const unsigned char*);   //communication with pc                    
    //--->>>private  
		void (*clear_pkt_record)(void); 
	
};
extern struct down_beacon_intf_STR func__down_beacon_intf;
#endif


#endif
