Add handling for self-serve machine signals in edge agent
This commit is contained in:
@@ -2950,6 +2950,13 @@ final class TruckwashEdgeAgent
|
||||
]);
|
||||
}
|
||||
|
||||
if (preg_match('#/edge-agent/gateways/\d+/selfserve/machine-signal$#', $endpoint)) {
|
||||
return $this->sendBrokerMessage([
|
||||
'type' => 'MACHINE_SIGNAL',
|
||||
'payload' => $this->stripAgentAuthentication($payload),
|
||||
]);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user