Skip to content
Snippets Groups Projects
TestService.cpp 398 B
Newer Older
  • Learn to ignore specific revisions
  • #include "Services/TestService.hpp"
    
    
    void TestService::areYouAlive(Message &request) {
    
    	// TM[17,2] are-you-alive connection test report
    	Message report = createTM(2);
    
    	storeMessage(report);
    }
    
    void TestService::onBoardConnection(Message &request) {
    
    kongr45gpen's avatar
    kongr45gpen committed
    	// TM[17,4] on-board connection test report
    	Message report = createTM(4);
    
    
    	report.appendUint16(request.readUint16());
    
    kongr45gpen's avatar
    kongr45gpen committed
    
    	storeMessage(report);
    }