cmdRequest

Sends a command request to the device.

This method allows sending custom commands to the connected device and returns the execution result.

Return

A Response containing a Boolean indicating success or failure of the command, or an error when the request fails.

Parameters

cmd

The command request to send to the device. This should be an instance of CmdRequest.