#include #include "stdafx.h" #include #include #include #include "lmdfu.h" #include "lmdfuwrap.h" #include "DFUDevice.h"; #pragma once using namespace System; using namespace System::Collections; using namespace System::Collections::Generic; namespace Tango { namespace FirmwareUpdateLib { public ref class FirmwareUpdateManager { //Initialization Errors String^ DFU_ERR_NOT_FOUND_ERROR = "The driver for the USB Device Firmware Upgrade device cannot be found.\nBefore running this program, please connect the DFU device to this system\nand install the device driver when prompted by Windows. The device driver\ncan be found on the evaluation kit CD or can be found in the windows_drivers\ndirectory of your TivaWare installation.\n\n"; String^ DFU_ERR_INVALID_ADDR_ERROR = "The driver for the USB Device Firmware Upgrade device was found but appears\nto be a version which this program does not support. Please download and\ninstall the latest device driver and example applications from the TI\nweb site to ensure that you are using compatible versions. The drivers\ncan be found in the windows_drivers directory of your TivaWare\ninstallation and the applications can be found in package \"Windows-side\nexamples for USB kits\" which may be downloaded from the web site at\nhttp://www.ti.com/software_updates.\n\n"; String^ DFU_ERR_UNKNOWN_ERROR = "An error was reported while attempting to load the device driver for the \nUSB Device Firmware Upgrade device. If this error persists, please download\nand reinstall the latest device driver and example applications from the TI\nweb site. The drivers can be found in the windows_drivers directory of your\nTivaWare installation and the applications can be found in package\n\"Windows-side examples for USB kits\" which may be downloaded from\n"; public: void Initialize(); List^ GetAvailableDevices(bool fetchTwineExtras); }; } }