38 Commits

Author SHA1 Message Date
matthias.ringwald
7934ed2f08 don't process SDP record for EMBEDDED configuration - no malloc uese 2011-05-05 20:10:23 +00:00
matthias.ringwald
a5fc9b71d1 use 1000 byte SDP L2CAP MTU, remove debug output 2010-11-22 17:33:33 +00:00
matthias.ringwald
2403a696ce first working implementation of partial SDP attribute and search attibute requests - thanks to murerten for spotting incorrect implemenation (attention ugly code) 2010-09-11 18:49:32 +00:00
matthias.ringwald
273db449b6 really only send partial AttrributeList for service_attribute_request 2010-09-10 22:59:22 +00:00
matthias.ringwald
11c41d51ae use buffers of size 1021 to fit 3-DH5 ACL packets, check buffer for SDP responses 2010-07-25 12:28:23 +00:00
matthias.ringwald
81aa29cbfd remove dependency on socket_connection.h in sdp 2010-07-19 17:53:46 +00:00
matthias.ringwald
58374b8b6b comment sdp debug output 2010-06-22 17:00:55 +00:00
matthias.ringwald
a3461df089 limit size of service discovery responses by remote MTU 2010-06-18 20:53:42 +00:00
matthias.ringwald
b6ca5e0040 new sdp_attribute_list_traverse_sequence is easier to use then de_traverse_sequence, converted sdp_traversal_append_attributes to new traversal helper 2010-06-17 22:00:41 +00:00
matthias.ringwald
6faf2ac23b call sdp_handle_service_search_request for SDP_ServiceSearchRequest instead of sdp_handle_service_search_attribute_request 2010-06-16 19:42:10 +00:00
matthias.ringwald
6ee6f57ef1 disable debug output 2010-06-15 18:25:10 +00:00
matthias.ringwald
af8a029a59 AttributeList is sequence of alternative AttributeID,AttributeValue item not sequence of sequences that contain tuples 2010-06-14 19:32:01 +00:00
matthias.ringwald
69025de84f streamline deletion code 2010-06-13 21:27:47 +00:00
matthias.ringwald
b63955969a don't get service_record_item_t for record_handle = 0, fix another bug in sdp_unregister_services_for_connection 2010-06-13 21:21:27 +00:00
matthias.ringwald
fc7d768736 correct free of sdp service record on client disconnect 2010-06-13 20:17:00 +00:00
matthias.ringwald
361eca9635 added test sdp_handle_service_search_attribute_request, and fix continuation handling 2010-06-13 15:35:21 +00:00
matthias.ringwald
b0085265a1 added test for sdp_handle_service_attribute_request 2010-06-13 13:47:50 +00:00
matthias.ringwald
804d63bd51 test and fix sdp_handle_service_search_request 2010-06-13 13:13:38 +00:00
matthias.ringwald
d370e7cf04 implmented continuation handling for sdp_handle_service_search_attribute_request 2010-06-13 10:30:43 +00:00
matthias.ringwald
e170797053 implemented continuation handling for sdp_handle_service_attribute_request 2010-06-13 09:58:11 +00:00
matthias.ringwald
22b372ba48 implemented continuation handling for sdp_handle_service_search_request 2010-06-13 09:32:29 +00:00
matthias.ringwald
41901ee404 store client connection in service_record_item_t, set connection on register, check connection on unregister, remove service records for client on disconnect 2010-06-13 08:38:41 +00:00
matthias.ringwald
c1b43b8cbf pass on connection to sdp register functions, call sdp_unregister_services_for_connection when client disconnects 2010-06-13 08:26:47 +00:00
matthias.ringwald
707971a702 add _internal to unregister service record 2010-06-12 20:59:22 +00:00
matthias.ringwald
d87ec4a871 use correct sdp response len instead of 7 2010-06-12 19:17:12 +00:00
matthias.ringwald
79a786f96b make use of sdp_create_error_response 2010-06-12 18:41:28 +00:00
matthias.ringwald
cbb14c3ddc implemented sdp_handle_service_attribute_request 2010-06-12 18:29:11 +00:00
matthias.ringwald
1ea34cf48f implemented sdp_handle_service_search_request 2010-06-12 18:21:16 +00:00
matthias.ringwald
0993bebf69 fix sdp_record_matches_service_search_pattern 2010-06-12 14:32:42 +00:00
matthias.ringwald
ba3a63451c make sure allocated service record is big enough 2010-06-12 10:28:04 +00:00
matthias.ringwald
f38f1c873c primitive version of SDP_ServiceSearchAttributeRequest 2010-06-11 22:05:38 +00:00
matthias.ringwald
be85189294 extract sdp_handle_service_search_attribute_request, send SDP_ErrorResponse PDU for unknown requests 2010-06-11 21:46:15 +00:00
matthias.ringwald
e5a78ec7c5 use pos indicator to calc sdp pdu len 2010-06-11 21:37:23 +00:00
matthias.ringwald
51468eedc1 move set len of pdu to end of block 2010-06-11 21:15:49 +00:00
matthias.ringwald
d9944f02e3 added internal sdp register/unregister functions 2010-06-11 21:12:14 +00:00
matthias.ringwald
fb19951d60 also handle deny other two SDP requests 2010-06-09 18:41:25 +00:00
matthias.ringwald
1939857cff correct description of response 2010-06-09 17:39:41 +00:00
matthias.ringwald
5b0ad4acac added sdp preliminaries 2010-06-09 17:33:28 +00:00