More improvements to the incomplete BluetoothHost demo - add Disconnection Event...
[pub/lufa.git] / Demos / Host / Incomplete / BluetoothHost / BluetoothHost.h
index b5bfa0e..a24b67a 100644 (file)
   this software.\r
 */\r
 \r
+/** \file\r
+ *\r
+ *  Header file for BluetoothHost.c.\r
+ */\r
+\r
 #ifndef _BLUETOOTH_HOST_H_\r
 #define _BLUETOOTH_HOST_H_\r
 \r
                /** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */\r
                #define LEDMASK_USB_ERROR        (LEDS_LED1 | LEDS_LED3)\r
 \r
-               #define BLUETOOTH_DATA_IN_PIPE          1\r
-               #define BLUETOOTH_DATA_OUT_PIPE         2\r
-               #define BLUETOOTH_EVENTS_PIPE           3\r
-\r
        /* Task Definitions: */\r
-               void Bluetooth_Management_Task(void);\r
+               void Bluetooth_Host_Task(void);\r
                \r
        /* Event Handlers: */\r
                void EVENT_USB_Host_DeviceAttached(void);\r
                void EVENT_USB_Host_DeviceUnattached(void);\r
                void EVENT_USB_Host_DeviceEnumerationComplete(void);\r
-               void EVENT_USB_Host_HostError(uint8_t ErrorCode);\r
-               void EVENT_USB_Host_DeviceEnumerationFailed(uint8_t ErrorCode, uint8_t SubErrorCode);\r
+               void EVENT_USB_Host_HostError(const uint8_t ErrorCode);\r
+               void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode);\r
 \r
        /* Function Prototypes: */\r
                void SetupHardware(void);\r