You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you pass a DiagnosticRequest to VehicleManager.send(...), it will wrap that in a CommandMessage and set the action field to ADD. If you want to cancel a diagnostic request, you have to build your own Command and set the action to CANCEL.
That seems OK, but then the API gets confused - if you pass a Command with a DiagnosticRequest inside to VehicleManager.request(...), it won't set up the correct listener. It'll be looking for a command response instead of a diagnostic response.
The text was updated successfully, but these errors were encountered:
If you pass a
DiagnosticRequest
toVehicleManager.send(...)
, it will wrap that in aCommandMessage
and set theaction
field toADD
. If you want to cancel a diagnostic request, you have to build your ownCommand
and set the action toCANCEL
.That seems OK, but then the API gets confused - if you pass a
Command
with aDiagnosticRequest
inside toVehicleManager.request(...)
, it won't set up the correct listener. It'll be looking for a command response instead of a diagnostic response.The text was updated successfully, but these errors were encountered: