diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-13 11:19:04 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-13 11:19:04 +0000 |
commit | e55f33866334615e705ff68c0f3bea8e5b1b9b8b (patch) | |
tree | 35ee822c10f6453d4c162190e2a2488a9cc253e2 /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h | |
parent | 882ef0c983836f9a188ec1f4c86192c1af1c1344 (diff) | |
download | lufa-e55f33866334615e705ff68c0f3bea8e5b1b9b8b.tar.gz lufa-e55f33866334615e705ff68c0f3bea8e5b1b9b8b.tar.bz2 lufa-e55f33866334615e705ff68c0f3bea8e5b1b9b8b.zip |
Document the Bluetooth ACL layer. Remove unneeded parameters from the signalling command processing routines.
Change over the code so that the bluetooth packet data is read in by the stack rather than the user application, to make it more unform for sending/receiving, and so the library can handle incomming fragmentation in the future.
Start Service Discovery Protocol decoding and processing.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h index 6a241eaa3..de1ffe6f4 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h @@ -35,15 +35,17 @@ #include <avr/io.h>
#include <string.h>
#include <stdbool.h>
+ #include <stdio.h>
#include <LUFA/Drivers/USB/USB.h>
+ #include <LUFA/Drivers/Peripheral/SerialStream.h>
#include "BluetoothStack.h"
#include "BluetoothClassCodes.h"
/* Macros: */
#define BT_HCI_DEBUG(l, s, ...) do { if (HCI_DEBUG_LEVEL >= l) printf_P(PSTR("(HCI) " s "\r\n"), __VA_ARGS__); } while (0)
- #define HCI_DEBUG_LEVEL 1
+ #define HCI_DEBUG_LEVEL 0
#define OGF_LINK_CONTROL 0x01
#define OGF_CTRLR_BASEBAND 0x03
|