X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ee74b4948f5911de678886890d991db2b3267b06..b9c7d196152652df918a822522061c3fe193d273:/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h?ds=sidebyside diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h index 1cc0d9242..b529ea483 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h @@ -35,8 +35,6 @@ #include #include "BluetoothHost.h" - #include "BluetoothHCICommands.h" - #include "BluetoothACLPackets.h" /* Macros: */ #define BLUETOOTH_DATA_IN_PIPE 1 @@ -84,6 +82,10 @@ char PINCode[16]; char Name[]; } Bluetooth_Device_t; + + /* Includes: */ + #include "BluetoothHCICommands.h" + #include "BluetoothACLPackets.h" /* Function Prototypes: */ Bluetooth_Channel_t* Bluetooth_GetChannelData(uint16_t ChannelNumber, bool SearchBySource); @@ -92,6 +94,11 @@ void Bluetooth_Stack_Init(void); void Bluetooth_Stack_USBTask(void); + bool Bluetooth_ConnectionRequest(uint8_t* RemoteAddress); + void Bluetooth_ConnectionComplete(void); + void Bluetooth_DisconnectionComplete(void); + void Bluetooth_PacketReceived(uint16_t* PacketLength, Bluetooth_Channel_t* Channel); + /* External Variables: */ extern Bluetooth_Device_t Bluetooth_DeviceConfiguration; extern Bluetooth_Connection_t Bluetooth_Connection;