diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-22 14:08:00 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-22 14:08:00 +0000 |
commit | 5993e1efe789418e3773d37aae119f48093a3439 (patch) | |
tree | 347f581dc48d44e74970c7627d6dfc60810866b4 /Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h | |
parent | 8252b4febd928718c4b416d7be262afa6a39075f (diff) | |
download | lufa-5993e1efe789418e3773d37aae119f48093a3439.tar.gz lufa-5993e1efe789418e3773d37aae119f48093a3439.tar.bz2 lufa-5993e1efe789418e3773d37aae119f48093a3439.zip |
Added ability to search by Channel PSM to the GetChannelData() function in the BluetoothHost demo.
Added new HCI states to properly initialize the bluetooth dongle and retrieve the local BDADDR.
Factored out Bluetooth state information into a new state structure for easy reference in the user application.
Added new StackInitialized() Bluetooth stack callback function.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h b/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h index 397d10bff..fc0abae45 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h @@ -78,7 +78,8 @@ {.Header = (type | 5), .Size = size, .Data = __VA_ARGS__}
#define SERVICE_ATTRIBUTE_32BIT_LEN(name, type, size, ...) const ServiceAttributeData32Bit_t name PROGMEM = \
{.Header = (type | 5), .Size = size, .Data = __VA_ARGS__}
-
+ #define SERVICE_ATTRIBUTE_TABLE_TERMINATOR {.AttributeData = NULL}
+
/* Type Defines: */
typedef struct
{
|