X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/559af022041942be21d7cabd398639f4d6db52ea..c326fe96050cf80992ded7726e9222ac5305a908:/Demos/Host/Incomplete/BluetoothHost/Lib/SDP.c diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/SDP.c b/Demos/Host/Incomplete/BluetoothHost/Lib/SDP.c index d01225152..4529e8f83 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/SDP.c +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/SDP.c @@ -52,12 +52,6 @@ const ServiceAttributeTable_t* SDP_Services_Table[] PROGMEM = /** Base UUID value common to all standardized Bluetooth services */ const UUID_t BaseUUID PROGMEM = {0x00000000, BASE_80BIT_UUID}; -/** Initializes the SDP service, ready for new connections from a SDP client. */ -void SDP_Initialize(void) -{ - /* Not currently used */ -} - /** Main Service Discovery Protocol packet processing routine. This function processes incomming SDP packets from * a connected Bluetooth device, and sends back appropriate responses to allow other devices to determine the * services the local device exposes. @@ -487,8 +481,8 @@ static bool SDP_SearchServiceTable(uint8_t UUIDList[][UUID_SIZE_BYTES], const ui * * \return True if all the UUIDs given in the UUID list appear in the given attribute table, false otherwise */ -static void SDP_CheckUUIDMatch(uint8_t UUIDList[][UUID_SIZE_BYTES], const uint8_t TotalUUIDs, uint16_t* UUIDMatchFlags, - const void* CurrAttribute) +static void SDP_CheckUUIDMatch(uint8_t UUIDList[][UUID_SIZE_BYTES], const uint8_t TotalUUIDs, + uint16_t* const UUIDMatchFlags, const void* CurrAttribute) { uint8_t CurrAttributeType = (pgm_read_byte(CurrAttribute) & ~0x07);