Skip to content
Snippets Groups Projects
TestService.hpp 545 B
Newer Older
  • Learn to ignore specific revisions
  • #ifndef ECSS_SERVICES_TESTSERVICE_HPP
    #define ECSS_SERVICES_TESTSERVICE_HPP
    
    #include "Service.hpp"
    
    /**
     * Implementation of the ST[17] test service
     */
    class TestService : public Service {
    public:
    	TestService() {
    		serviceType = 17;
    	}
    
    	/**
    	 * TC[17,1] perform an are-you-alive connection test
    	 */
    
    	void areYouAlive(Message & request);
    
    kongr45gpen's avatar
    kongr45gpen committed
    
    	/**
    	 * TC[17,3] perform an on-board connection test
    	 *
    	 * @todo Only respond if we have the correct APID
    	 */
    
    	void onBoardConnection(Message & request);
    
    };
    
    
    #endif //ECSS_SERVICES_TESTSERVICE_HPP