diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-04-06 03:56:45 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-04-06 03:56:45 +0000 |
| commit | e1ab89cc2123f8f5152411e1b297430b545c04bc (patch) | |
| tree | 97129bb84caeb4c0342f5c9cffce09f680f02490 /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h | |
| parent | 2cfec3ac7e25beb0bd4c444afb9cdcd0bccc0658 (diff) | |
Add packet reception and send routines to the ACL layer of the incomplete Bluetooth Host demo.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1196 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h')
| -rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h | 11 |
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 1cc0d924..b529ea48 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;
|
