Refactor IMTQ handling #384
@ -144,7 +144,7 @@ ReturnValue_t ImtqHandler::buildTransitionDeviceCommand(DeviceCommandId_t* id) {
|
|||||||
ReturnValue_t ImtqHandler::buildCommandFromCommand(DeviceCommandId_t deviceCommand,
|
ReturnValue_t ImtqHandler::buildCommandFromCommand(DeviceCommandId_t deviceCommand,
|
||||||
const uint8_t* commandData,
|
const uint8_t* commandData,
|
||||||
size_t commandDataLen) {
|
size_t commandDataLen) {
|
||||||
auto genericSpecialRequest = [&](imtq::SpecialRequest specialRequest, ) {
|
auto genericSpecialRequest = [&](imtq::SpecialRequest specialRequest) {
|
||||||
ImtqRequest request(commandBuffer, sizeof(commandBuffer));
|
ImtqRequest request(commandBuffer, sizeof(commandBuffer));
|
||||||
request.setMeasureRequest(specialRequest);
|
request.setMeasureRequest(specialRequest);
|
||||||
specialRequestActive = true;
|
specialRequestActive = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user