DeviceChannel.sendCommand Method¶
Module: DeviceChannel
Definition¶
(C++/dotnet): Issues a command to the device.
public void SendCommand(string cmd, IntPtr arg=default(IntPtr), IntPtr result=default(IntPtr))
Parameters
cmd
stringin The command to be sent.arg
IntPtrin An optional argument for the command.result
IntPtrin An optional pointer to store the command’s result.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesDeviceChannel_SendCommand (
ID3_DEVICES_DEVICE_CHANNEL hDeviceChannel,
const char * cmd,
void * arg,
void * result)
Parameters
hDeviceChannel
ID3_DEVICES_DEVICE_CHANNELin Handle to the DeviceChannel object.cmd
const char *in The command to be sent.arg
void *in An optional argument for the command.result
void *in An optional pointer to store the command’s result.
Returns