Add packet reception and send routines to the ACL layer of the incomplete Bluetooth...
[pub/USBasp.git] / Demos / Host / Incomplete / BluetoothHost / Lib / BluetoothStack.h
index 1cc0d92..b529ea4 100644 (file)
@@ -35,8 +35,6 @@
                #include <LUFA/Drivers/USB/USB.h>\r
                \r
                #include "BluetoothHost.h"\r
-               #include "BluetoothHCICommands.h"\r
-               #include "BluetoothACLPackets.h"\r
                \r
        /* Macros: */\r
                #define BLUETOOTH_DATA_IN_PIPE                   1\r
                        char     PINCode[16];\r
                        char     Name[];\r
                } Bluetooth_Device_t;\r
+       \r
+       /* Includes: */\r
+               #include "BluetoothHCICommands.h"\r
+               #include "BluetoothACLPackets.h"                \r
                \r
        /* Function Prototypes: */\r
                Bluetooth_Channel_t* Bluetooth_GetChannelData(uint16_t ChannelNumber, bool SearchBySource);\r
                void Bluetooth_Stack_Init(void);\r
                void Bluetooth_Stack_USBTask(void);\r
 \r
+               bool Bluetooth_ConnectionRequest(uint8_t* RemoteAddress);\r
+               void Bluetooth_ConnectionComplete(void);\r
+               void Bluetooth_DisconnectionComplete(void);\r
+               void Bluetooth_PacketReceived(uint16_t* PacketLength, Bluetooth_Channel_t* Channel);\r
+\r
        /* External Variables: */\r
                extern Bluetooth_Device_t     Bluetooth_DeviceConfiguration;\r
                extern Bluetooth_Connection_t Bluetooth_Connection;\r