Run a task with an async
With Hawk FW v1.6 and later we are able to run tasks in response to an async message.
Workflow:
- Set up the task on the device - How to setup tasks
- Queue the async message.
- Async will send the next time the device connects and commits.
Details on the async are below (taken from OEM WebAPI 1.10):
Requires Hawk FW v1.6
Payload: 1-byte task number (1-based)
Example: Run task 1.
{
"MessageType":260,
"CANAddress":4294967295,
"Data":[1],
"ExpiryDateUTC":"2023-11-25T18:25:43.511Z"