ping test
This commit is contained in:
@ -86,7 +86,6 @@ ReturnValue_t CspComIF::sendMessage(CookieIF *cookie,
|
||||
SerializeAdapter::deSerialize(&querySize, &sendData, &sendLen,
|
||||
SerializeIF::Endianness::BIG);
|
||||
uint8_t cspAddress = cspCookie->getCspAddress();
|
||||
|
||||
if(cspPort == csp_reserved_ports_e::CSP_PING){
|
||||
uint32_t timeout = 1000; // ms
|
||||
unsigned int pingSize = 100; // 100 bytes
|
||||
@ -168,6 +167,7 @@ ReturnValue_t CspComIF::cspTransfer(uint8_t cspAddress, uint8_t cspPort,
|
||||
} else {
|
||||
if(result != 1){
|
||||
sif::error << "CSP transfer failed" << std::endl;
|
||||
return HasReturnvaluesIF::RETURN_FAILED;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user