Fix the encoding of UUIDs in the SDP server so that they match the Bluetooth UUID format properly.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1296 d5102386-fcda-11dd-9fdb-3debd5008f28
Much faster attribute range lookup - look through short list of attributes and compare to range, rather than looking up by each possible value within the range.

Cleanups to SDP code. Add missing RFCOMM language base ID offset attribute. Fix incorrect definition of the SWAPENDIAN_32() macro.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1297 d5102386-fcda-11dd-9fdb-3debd5008f28
Document inline SDP data read/write functions.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1298 d5102386-fcda-11dd-9fdb-3debd5008f28
Service Attribute SDP requests should have only one Data Element Sequence container around the single service's retrieved attributes, not two.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1299 d5102386-fcda-11dd-9fdb-3debd5008f28
Remove incorrect Language ID offset attribute from the SDP server - client assumes 0x0100 offset for primary language anyway, and the format of the offset was incorrect anyway.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1300 d5102386-fcda-11dd-9fdb-3debd5008f28
Clean up the Service tables, add incomplete ProtocolDescriptorList attribute to the SDP service.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1301 d5102386-fcda-11dd-9fdb-3debd5008f28
Add L2CAP service attribute table. Fix up ProtocolDescriptorList attributes, and add macros for used UUIDs to reduce typing and make the code easier to read.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1302 d5102386-fcda-11dd-9fdb-3debd5008f28
The SDP UUID lists should be searched and ALL UUIDs matched for a record to be retrieved, not partial matches. Change the SDP code so that the entire list must be matched against a service attribute table's contents before it is returned.

Change matching algorithm so that it recursively searches through the entire attribute table, and not just pre-specified sequence attributes.

Add browse lists and proper descriptions to the Serial Port service.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1303 d5102386-fcda-11dd-9fdb-3debd5008f28
Fix byte ordering of UUIDs in the SDP server - host can now successfully pair to the Bluetooth device and discover the exposed Serial Port Profile RFCOMM service.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1304 d5102386-fcda-11dd-9fdb-3debd5008f28
Better fix to avoid void pointer arithmetic in ConfigDescriptor.h to regain C++ compatibility (thanks to Michael Hennebry).

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1305 d5102386-fcda-11dd-9fdb-3debd5008f28
Oops - descriptor pointer should be assigned, not incremented with the new type-safe code.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1306 d5102386-fcda-11dd-9fdb-3debd5008f28
Add start of RFCOMM service layer to the incomplete BluetoothHost demo.

Reduce the size of the attribute search list from 15 ranges to 8 to save RAM.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1307 d5102386-fcda-11dd-9fdb-3debd5008f28
Add PSM value to the RFCOMM service so that the host knows what PSM to use on channels when trying to access it.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1308 d5102386-fcda-11dd-9fdb-3debd5008f28
Extra protocol value in the RFCOMM protocol is the channel number, not the PSM - update typedef name and size.

Add delay to the Connection Request signal processing routine - without this, the host will not create the RFCOMM channel correctly. Need to investigate why this delay is needed.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1309 d5102386-fcda-11dd-9fdb-3debd5008f28
Delay needed in bluetooth code due to the send function not waiting for the pipe bank to become ready before writing. Add in a call to Pipe_WaitUntilReady() to fix the issue.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1310 d5102386-fcda-11dd-9fdb-3debd5008f28
Start implementation of RFCOMM decoding layer. Add new service initialize routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1311 d5102386-fcda-11dd-9fdb-3debd5008f28
Minor documentation cleanups.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1312 d5102386-fcda-11dd-9fdb-3debd5008f28
More documentation fixes.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1313 d5102386-fcda-11dd-9fdb-3debd5008f28
Fixed incorrect function references in the Mass Storage Class driver documentation.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1314 d5102386-fcda-11dd-9fdb-3debd5008f28
Document Bluetooth files with overall file Doxygen comments. Add more initial RFCOMM layer code to receive and respond to SABM packets.

git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1315 d5102386-fcda-11dd-9fdb-3debd5008f28