77
coreCliCmd
Description:
Send a CLI-format command to the device. Commands are listed in the section “USB/Telnet
CLI Commands”.
Syntax:
EXPORT int __stdcall coreCliCmd(char *cmd, char* rsp, int len);
Parameters:
Parameter
Description
cmd
CLI command string (see API Command Reference)
rsp
Pointer to response string
len
Bytes available in response string
Return Values:
Value
Description
-1
General failure
0
Success
notifCtrl
Description:
Enable/disable notifications and register a callback function to handle CLI-format
notifications. The notifications are defined in the next section. Notifications are
automatically disabled if the device is disconnected.
Syntax:
EXPORT int __stdcall notifCliCtrl(int mode, void(*notif_callback)(char *msg));
Parameters:
Parameter
Description
mode
Enable/disable notifications
notif_callback
Pointer to callback function to handle CLI notification
msg
Callback function parameter: Notification message string (see Command Reference)
Return Values:
Value
Description
-1
General failure
0
Success
Содержание CS-700 Series
Страница 38: ...38...
Страница 39: ...39 Finally please confirm the selections and start the installation process...
Страница 41: ...41 And lastly the installation process provided a success message after a successful installation...
Страница 43: ...43 Once the application logged into the CS 700 device the home tab will show status information of the unit...
Страница 49: ...49...