diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-01 04:30:21 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-01 04:30:21 +0000 |
commit | fd96b288824caaa3ee4e5e03887f016de9df80cf (patch) | |
tree | 05e97d04d4a40f80218e304226e5613ed3106369 /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h | |
parent | a2e6d54336144f7fa3cc1d77f887cc9e20631771 (diff) | |
download | lufa-fd96b288824caaa3ee4e5e03887f016de9df80cf.tar.gz lufa-fd96b288824caaa3ee4e5e03887f016de9df80cf.tar.bz2 lufa-fd96b288824caaa3ee4e5e03887f016de9df80cf.zip |
More improvements to the incomplete BluetoothHost demo - add Disconnection Event processing.
Remove unused macro in the host mode demos for the maximum Configuration Descriptor size.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h index 0fc2dd2c2..20bc95696 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h @@ -39,14 +39,16 @@ #include "BluetoothACLPackets.h"
/* Macros: */
+ #define BLUETOOTH_DATA_IN_PIPE 1
+ #define BLUETOOTH_DATA_OUT_PIPE 2
+ #define BLUETOOTH_EVENTS_PIPE 3
+
#define BLUETOOTH_MAX_OPEN_CHANNELS 2
#define BLUETOOTH_CHANNELNUMBER_BASEOFFSET 0x0040
#define CHANNEL_LOOKUP_BY_SOURCE true
#define CHANNEL_LOOKUP_BY_DESTINATION false
- #define BT_DEBUG(s, ...) printf_P(PSTR(s "\r\n"), __VA_ARGS__)
-
/* Enums: */
enum Bluetooth_Channel_State_t
{
|