The LibertasCommand.
The reference number of this request.
Use Libertas_SetOnDevice to setup the callback function for the response.
The callback will be triggered asynchroniously with an LibertasCommandRsp and the reference number.
IMPORTANT! If the task sends another command before the previous command is responded, the previous one may be discarded by Libertas OS. As a general rule, a task shall always wait for the response to previous interaction before sending another one, or only expect the response to the latest request.
If the task keep sending commands while a previous command has not received a response, some commands will be automatically dropped, because the Libertas engine can tell that only the last command matters.
The request may never reach the recipient if, for example, there is a network problem. In that case, a LibertasDeviceAction.StatusResponse with a Matter.Status.Timeout will be received from the callback registered with Libertas_SetOnDevice.
The Thing-App task shall not assume that it is the only process that sends requests. Other agents may also send requests. A task can only receive the command response to its own command requests. In order to receive all changes to a attribute, use Libertas_AppSubscribeReq.
Send a asynchronize command request to the device.