v1.14.0 #304
@ -417,6 +417,9 @@ ReturnValue_t PlocSupervisorHandler::buildCommandFromCommand(DeviceCommandId_t d
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case LOGGING_SET_TOPIC: {
|
case LOGGING_SET_TOPIC: {
|
||||||
|
if(commandData == nullptr or commandDataLen == 0) {
|
||||||
|
return HasActionsIF::INVALID_PARAMETERS;
|
||||||
|
}
|
||||||
uint8_t tpc = *(commandData);
|
uint8_t tpc = *(commandData);
|
||||||
RequestLoggingData packet(spParams);
|
RequestLoggingData packet(spParams);
|
||||||
result = packet.buildPacket(RequestLoggingData::Sa::SET_LOGGING_TOPIC, tpc);
|
result = packet.buildPacket(RequestLoggingData::Sa::SET_LOGGING_TOPIC, tpc);
|
||||||
|
Loading…
Reference in New Issue
Block a user