Notifctrl; Updatefirmware - Yamaha CS-700 Series Integrators Reference Manual

Hide thumbs Also See for CS-700 Series:
Table of Contents

Advertisement

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 section 5,
Notifications are automatically disabled if device is disconnected.
Syntax:
EXPORT int __cdecl notifCtrl(int mode, void(*notif_callback_t)(char *msg));
Parameters:
Parameter
Description
mode
Enable/disable notifications
notif_callback_t
Pointer to callback function to handle CLI notification
msg
Callback function parameter: Notification message string (see
Reference)
Return Values:
Value
Description
-1
General failure
0
Success

updateFirmware

Description:
Update firmware on the CS-700 device. The host PC must have access to a proper firmware
bundle.
Syntax:
EXPORT int __cdecl updateFirmware(char *bundle, void(*update_firmware_callback_t)(int
nPercent));
Parameters:
Parameter
Description
bundle
Complete file path of upgrade bundle
update_firmware_
Pointer to callback function to handle upgrade progress notifications
callback_t
nPercent
Callback function parameter: Percent completion. A value of -1 indicates an upgrade
error.
Yamaha CS-700 Integrators Reference Guide
API Command
Reference.
API Command
17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs700-spCs700-av

Table of Contents