2322 Commits

Author SHA1 Message Date
matthias.ringwald
eaf0c42fae keep some test code 2010-07-17 16:58:54 +00:00
matthias.ringwald
94173b5450 prevent segfault by only copying strlen(ptr) for Bluetooth name - thanks to akolhlsmith for detecting this 2010-07-06 18:13:54 +00:00
matthias.ringwald
ad888e05a6 prevent segfault by only copying strlen(ptr) for Bluetooth name - thanks to akolhlsmith for detecting this 2010-07-06 18:10:25 +00:00
matthias.ringwald
524c7189ed include config.h to get HAVE_SDP 2010-07-06 16:39:30 +00:00
matthias.ringwald
8f7e9afb15 include config.h to get HAVE_SDP 2010-07-06 16:37:46 +00:00
matthias.ringwald
abf7f7c6bf fix attribute list traversal 2010-07-05 20:58:26 +00:00
matthias.ringwald
9974f44821 fix compile 2010-07-05 20:49:14 +00:00
matthias.ringwald
88aa939830 use log_dbg for run_loop_embedded, too 2010-07-05 20:22:08 +00:00
matthias.ringwald
cf0b66f05f fix typo, use log_ macros 2010-07-04 19:35:21 +00:00
matthias.ringwald
7f2435e617 use new debug.h 2010-07-04 19:28:21 +00:00
matthias.ringwald
4ef8c754b2 provide a way to disable dbg and err msgs 2010-07-04 19:26:33 +00:00
matthias.ringwald
2dc9054d71 made SDP support a compile flag 2010-07-04 16:30:50 +00:00
matthias.ringwald
10642e45f5 fix compile warning - add default clause 2010-07-04 16:25:56 +00:00
matthias.ringwald
b7de95da8c fix compile warning 2010-07-04 16:23:44 +00:00
matthias.ringwald
3cc46c89b0 make support for POSIX run loop optional 2010-07-04 16:20:27 +00:00
matthias.ringwald
68e27c0fc4 comment code for embedded port 2010-07-04 16:06:32 +00:00
matthias.ringwald
4423a2552b fix compiler warnings 2010-07-04 15:58:41 +00:00
matthias.ringwald
1de0640a0a use loop instead of bzero (temporarily for embedded port) 2010-07-04 15:03:34 +00:00
matthias.ringwald
9585ad6b8f fix signed/unsigned warning 2010-07-04 14:54:56 +00:00
matthias.ringwald
918d4281b4 comment unused struct 2010-07-04 14:27:05 +00:00
matthias.ringwald
2a9745927e support timers if gettimeofday and struct timeval exist 2010-07-04 13:59:28 +00:00
matthias.ringwald
0453d688d1 added basic run loop for embedded use 2010-07-04 13:56:43 +00:00
matthias.ringwald
36c74a6d73 don't call return in void function 2010-07-04 13:49:23 +00:00
matthias.ringwald
ed7467aa63 also add private API 2010-06-30 17:12:29 +00:00
matthias.ringwald
88bc6ea8e4 moved private parts of run_loop.h into run_loop_private.h 2010-06-29 20:58:45 +00:00
matthias.ringwald
58374b8b6b comment sdp debug output 2010-06-22 17:00:55 +00:00
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