aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h
AgeCommit message (Collapse)Author
2010-06-13Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h ↵Dean
files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1333 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03Start implementation of RFCOMM decoding layer. Add new service initialize ↵Dean
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
2010-06-03Add PSM value to the RFCOMM service so that the host knows what PSM to use ↵Dean
on channels when trying to access it. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1308 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03Add start of RFCOMM service layer to the incomplete BluetoothHost demo.Dean
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
2010-06-02Fix byte ordering of UUIDs in the SDP server - host can now successfully ↵Dean
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
2010-06-02The SDP UUID lists should be searched and ALL UUIDs matched for a record to ↵Dean
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
2010-06-01Remove incorrect Language ID offset attribute from the SDP server - client ↵Dean
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
2010-06-01Document inline SDP data read/write functions.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1298 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-01Fix the encoding of UUIDs in the SDP server so that they match the Bluetooth ↵Dean
UUID format properly. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1296 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-01Move SDP service tables out into a new set of files, to make the SDP service ↵Dean
code cleaner. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1295 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-31Fix endianness issues in the Service Discovery Protocol service of the ↵Dean
incomplete Bluetooth Host demo. Host can now correctly retrieve specific services, however Windows does not appear to be sending the appropriate generic browse class IDs needed to report the virtual serial service. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1293 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-25Fixed RNDISEthernet demos crashing when calculating checksums for ↵Dean
Ethernet/TCP packets of more than ~500 bytes due to an overflow in the checksum calculation loop (thanks to Kevin Malec). Removed string Attributes from the Service Discovery Protocol code to minimise the potential points of failure while the base code is being debugged. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1276 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-23Add UUID Class matching to the Service Discovery Protocol code - SDP is now ↵Dean
correctly matched against the generic Service Discovery Class UUID. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1275 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-23SDP Service improvements; fixed UUID for SDP service, added Service ↵Dean
Discovery Server UUID, better documentation. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1273 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-21Add comments and partial Doxygen documentation to the incomplete Bluetooth ↵Dean
SDP handler code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1272 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-21Oops - when adding a sequence header to the SDP response, the size value ↵Dean
needs to be cleared, not the buffer pointer. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1271 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-21Add incomplete code to properly handle attribute responses to Service ↵Dean
Discovery Protocol requests. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1270 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-20Service Discovery ServiceSearchAttribute requests require the response to be ↵Dean
grouped by UUID, so the response can't be generated as the attributes are read in. Buffer both UUIDs and Attributes instead and generate the response afterwards. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1269 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-20Short UUIDs are measured in bytes, not bits -- update Service Discovery ↵Dean
Protocol code so that it can now correctly match against UUIDs in the service table. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1268 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-20More SDP code improvements - responses to ServiceSearchAttribute service ↵Dean
discovery requests should now be valid, even if they do not currently return the device's services and service attributes. Added more documentation to the incomplete Bluetooth stack code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1267 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-18Switch over the BluetoothHost demo's Service Discovery code to pass around ↵Dean
more generic GUID arrays. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1265 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-17Begin processing code for Service Discovery Protocol attributes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1263 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-10Refactor Service Discovery Protocol code in the incomplete Bluetooth Host ↵Dean
demo, so that the UUID list is compiled via a seperate function to allow for its re-use between different SDP request types. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1250 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-22Added ability to search by Channel PSM to the GetChannelData() function in ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1216 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-20Fixed HID Device Class Driver not allocating a temporary buffer when the ↵Dean
host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1215 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-19Add start of a SDP service table, which will be linked to the Bluetooth SDP ↵Dean
code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1214 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-19Make bluetooth SDP code correctly unpack the search UUIDs and parameters.Dean
Minor documentation improvements. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1213 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-15Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean
applicable to variables also. Add new ATTR_NOINIT attribute for global variables. Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo. Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1209 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-13Document the Bluetooth ACL layer. Remove unneeded parameters from the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1205 d5102386-fcda-11dd-9fdb-3debd5008f28