Yamaha CS-700 Integrators Reference Guide
16
devDetach
Description:
Disconnect session.
Syntax:
EXPORT void __cdecl devDetach(void);
Return Values:
Value
Description
-1
General error
0
Success
isConnected
Description:
Get the USB connection status.
Syntax:
EXPORT int __cdecl isConnected(void);
Return Values:
Value
Description
-1
General error
0
Not connected
1
Connected HID
2
Conned Bulk
coreCliCmd
Description:
Send a CLI-format command to the device. The commands are defined in in section 5,
Syntax:
EXPORT int __cdecl coreCliCmd(char *cmd, char *rsp, int len);
Parameters:
Parameter
Description
cmd
CLI command string (see
rsp
Pointer to response string
len
Bytes available in response string