Network: Update DeviceStatus define to match the standard style
parent
adb972b1f7
commit
7fdae15aed
|
|
@ -118,7 +118,7 @@ bool Decoder::decode(std::shared_ptr<Message>& result, const std::shared_ptr<Pac
|
|||
result = msg;
|
||||
return true;
|
||||
}
|
||||
case Network::NetID::Device_Status: {
|
||||
case Network::NetID::DeviceStatus: {
|
||||
result = std::make_shared<Message>();
|
||||
result->network = packet->network;
|
||||
// Just pass along the data, the device needs to handle this itself
|
||||
|
|
|
|||
|
|
@ -541,7 +541,7 @@ void Device::handleInternalMessage(std::shared_ptr<Message> message) {
|
|||
case Network::NetID::Reset_Status:
|
||||
latestResetStatus = std::dynamic_pointer_cast<ResetStatusMessage>(message);
|
||||
break;
|
||||
case Network::NetID::Device_Status:
|
||||
case Network::NetID::DeviceStatus:
|
||||
// Device Status format is unique per device, so the devices need to decode it themselves
|
||||
handleDeviceStatus(message);
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ public:
|
|||
LSFTCAN2 = 99,
|
||||
FlexRayControl = 243,
|
||||
HW_COM_Latency_Test = 512,
|
||||
Device_Status = 513,
|
||||
DeviceStatus = 513,
|
||||
UDP = 514,
|
||||
ForwardedMessage = 516,
|
||||
I2C2 = 517,
|
||||
|
|
@ -261,7 +261,7 @@ public:
|
|||
return Type::MOST;
|
||||
case NetID::RED:
|
||||
case NetID::Reset_Status:
|
||||
case NetID::Device_Status:
|
||||
case NetID::DeviceStatus:
|
||||
case NetID::FlexRayControl:
|
||||
return Type::Internal;
|
||||
case NetID::Invalid:
|
||||
|
|
@ -501,7 +501,7 @@ public:
|
|||
return "FlexRay Control";
|
||||
case NetID::HW_COM_Latency_Test:
|
||||
return "HW COM Latency Test";
|
||||
case NetID::Device_Status:
|
||||
case NetID::DeviceStatus:
|
||||
return "Device Status";
|
||||
case NetID::UDP:
|
||||
return "UDP";
|
||||
|
|
|
|||
Loading…
Reference in New Issue