aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-06 03:56:45 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-06 03:56:45 +0000
commitb9c7d196152652df918a822522061c3fe193d273 (patch)
tree97129bb84caeb4c0342f5c9cffce09f680f02490 /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h
parentee74b4948f5911de678886890d991db2b3267b06 (diff)
downloadlufa-b9c7d196152652df918a822522061c3fe193d273.tar.gz
lufa-b9c7d196152652df918a822522061c3fe193d273.tar.bz2
lufa-b9c7d196152652df918a822522061c3fe193d273.zip
Add packet reception and send routines to the ACL layer of the incomplete Bluetooth Host demo.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h11
1 files changed, 9 insertions, 2 deletions
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 <LUFA/Drivers/USB/USB.h>
#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;