1296 Commits

Author SHA1 Message Date
matthias.ringwald
3de7c0ca8d correct get mtu from configure request 2010-06-18 21:36:14 +00:00
matthias.ringwald
a3461df089 limit size of service discovery responses by remote MTU 2010-06-18 20:53:42 +00:00
matthias.ringwald
96cbd66294 added l2cap_get_remote_mtu_for_local_cid 2010-06-18 20:31:05 +00:00
matthias.ringwald
1dc511dea6 extrat MTU from configure request if present, send empty config in configure repsonse instead of options from configure request 2010-06-18 20:21:52 +00:00
matthias.ringwald
2784b77d47 add remote_mtu to l2cap_channel_t, extract l2cap_signaling_handle_configure_request 2010-06-18 20:00:05 +00:00
matthias.ringwald
f590ca4ea9 attribute index and attribute found not needed with new attribute list traversal 2010-06-17 22:20:28 +00:00
matthias.ringwald
478a4824bb converted sdp_get_attribute_value_for_attribute_id to new traversal helper 2010-06-17 22:07:16 +00:00
matthias.ringwald
be3deeedc2 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:53 +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
f79ee2445a fix swapped source and destination channel IDs in L2CAP DISCONNECTION_RESPONSE 2010-06-16 18:57:58 +00:00
matthias.ringwald
8f7869d982 use 16 bit int to store attributeID 2010-06-15 18:25:36 +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
770b783106 clarify use of maxBytes in sdp_append_attributes_in_attributeIDList 2010-06-13 13:47:23 +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
231e1adb5d implemented continuation handling for sdp_handle_service_attribute_request 2010-06-13 09:58:38 +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
c3a00c04bf dispatch sdp client commands 2010-06-12 21:00:22 +00:00
matthias.ringwald
980c127c32 send complete ServiceRecord instaed of first 16 bytes 2010-06-12 21:00:03 +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
06d7e47ea1 add sdp_register_service_record, sdp_unregister_service_record commands 2010-06-12 19:04:34 +00:00
matthias.ringwald
7a26a9baa7 add sdp_register_service_record, sdp_unregister_service_record commands 2010-06-12 19:03:58 +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
41350e2c66 fix de_get_data_size 2010-06-12 10:27:17 +00:00
matthias.ringwald
5d5a55f27c really fix unregister service for closed connection 2010-06-12 10:06:45 +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
f2efebcde5 fix service remove from linked list 2010-06-09 18:24:06 +00:00
matthias.ringwald
1939857cff correct description of response 2010-06-09 17:39:41 +00:00
matthias.ringwald
a8e9101d2f enable SDP server - only responds to Service Search Attribute Request with empty Service Search Attribute Response 2010-06-09 17:34:52 +00:00
matthias.ringwald
5b0ad4acac added sdp preliminaries 2010-06-09 17:33:28 +00:00