X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7f9f97c792dee6875fbca9806422bdd7d6c5a657..57fe6b4fb97668eb15c4fa56095c0abd746d6c99:/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h index b5bfa0ef3..8a2817cb7 100644 --- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h +++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h @@ -28,6 +28,11 @@ this software. */ +/** \file + * + * Header file for BluetoothHost.c. + */ + #ifndef _BLUETOOTH_HOST_H_ #define _BLUETOOTH_HOST_H_ @@ -36,8 +41,10 @@ #include #include #include + #include #include + #include "Lib/ServiceDiscoveryProtocol.h" #include "Lib/BluetoothStack.h" #include "DeviceDescriptor.h" @@ -62,19 +69,15 @@ /** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */ #define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3) - #define BLUETOOTH_DATA_IN_PIPE 1 - #define BLUETOOTH_DATA_OUT_PIPE 2 - #define BLUETOOTH_EVENTS_PIPE 3 - /* Task Definitions: */ - void Bluetooth_Management_Task(void); + void Bluetooth_Host_Task(void); /* Event Handlers: */ 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); + void EVENT_USB_Host_HostError(const uint8_t ErrorCode); + void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode); /* Function Prototypes: */ void SetupHardware(void);