projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add packet reception and send routines to the ACL layer of the incomplete Bluetooth...
[pub/USBasp.git]
/
Demos
/
Host
/
Incomplete
/
BluetoothHost
/
Lib
/
BluetoothStack.h
diff --git
a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h
b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h
index
1cc0d92
..
b529ea4
100644
(file)
--- 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>
\r
\r
#include "BluetoothHost.h"
\r
#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
\r
/* Macros: */
\r
#define BLUETOOTH_DATA_IN_PIPE 1
\r
@@
-84,6
+82,10
@@
char PINCode[16];
\r
char Name[];
\r
} Bluetooth_Device_t;
\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
\r
/* Function Prototypes: */
\r
Bluetooth_Channel_t* Bluetooth_GetChannelData(uint16_t ChannelNumber, bool SearchBySource);
\r
@@
-92,6
+94,11
@@
void Bluetooth_Stack_Init(void);
\r
void Bluetooth_Stack_USBTask(void);
\r
\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
/* External Variables: */
\r
extern Bluetooth_Device_t Bluetooth_DeviceConfiguration;
\r
extern Bluetooth_Connection_t Bluetooth_Connection;
\r