X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2793c88fc601dcc7ec4961326dd9748a20f3ec83..09bedd6555a72c70f6d6bfb965225d44dec171cd:/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h index e78e392b7..0246bff82 100644 --- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h +++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h @@ -38,7 +38,7 @@ #include #include - #include "BluetoothStack.h" + #include "Lib/BluetoothStack.h" #include "DeviceDescriptor.h" #include "ConfigDescriptor.h" @@ -68,26 +68,13 @@ /* Task Definitions: */ void Bluetooth_Management_Task(void); - - /* Enums: */ - /** Enum for the possible status codes for passing to the UpdateStatus() function. */ - enum MouseHostViaInt_StatusCodes_t - { - Status_USBNotReady = 0, /**< USB is not ready (disconnected from a USB device) */ - Status_USBEnumerating = 1, /**< USB interface is enumerating */ - Status_USBReady = 2, /**< USB interface is connected and ready */ - Status_EnumerationError = 3, /**< Software error while enumerating the attached USB device */ - Status_HardwareError = 4, /**< Hardware error while enumerating the attached USB device */ - Status_BluetoothConnected = 5, /**< Bluetooth stack connected to device and idle */ - Status_BluetoothBusy = 6, /**< Bluetooth stack busy */ - }; /* Event Handlers: */ - void EVENT_USB_DeviceAttached(void); - void EVENT_USB_DeviceUnattached(void); - void EVENT_USB_DeviceEnumerationComplete(void); - void EVENT_USB_HostError(uint8_t ErrorCode); - void EVENT_USB_DeviceEnumerationFailed(uint8_t ErrorCode, uint8_t SubErrorCode); + void EVENT_USB_Host_DeviceAttached(void); + void EVENT_USB_Host_DeviceUnattached(void); + void EVENT_USB_Host_DeviceEnumerationComplete(void); + void EVENT_USB_Host_HostError(uint8_t ErrorCode); + void EVENT_USB_Host_DeviceEnumerationFailed(uint8_t ErrorCode, uint8_t SubErrorCode); /* Function Prototypes: */ void SetupHardware(void);