From 5993e1efe789418e3773d37aae119f48093a3439 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 22 Apr 2010 14:08:00 +0000 Subject: 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. --- Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h') 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 { -- cgit v1.2.3