71 Commits

Author SHA1 Message Date
mila@ringwald.ch
a0c35809ae streamline copyright headers 2015-02-06 16:19:27 +00:00
mila@ringwald.ch
5a98848396 deleted remove_sdp_client_for_connection 2014-09-04 14:31:40 +00:00
mila@ringwald.ch
9da54300b6 use log_info instead of printf, remove trailing newline from log calls 2014-08-15 21:26:50 +00:00
matthias.ringwald@gmail.com
62f901df97 add security level to l2cap service registration 2014-01-17 13:58:37 +00:00
matthias.ringwald@gmail.com
1884ffcf20 use 0x04 - no resources available, if incoming SDP connection while one is active 2013-03-11 21:42:29 +00:00
matthias.ringwald@gmail.com
ee077b17f6 fix record handle calculation for 16-bit platforms 2013-03-11 21:33:42 +00:00
matthias.ringwald
6b64433e6a added non-commerical clause and contact email 2012-05-07 21:54:09 +00:00
matthias.ringwald
3efa5692f5 reduce maximumAttributeByteCount after adding attributes to sdp response, should fix issue #197 repoted by simon 2012-03-16 21:44:55 +00:00
matthias.ringwald@gmail.com
efcd564040 retry SDP respond on DAEMON_EVENT_HCI_PACKET_SENT, too 2012-01-29 14:37:42 +00:00
mila@ringwald.ch
1109056ff2 removed old test code 2012-01-20 22:57:28 +00:00
matthias.ringwald
a982c048da store validated service record handle in service item 2011-08-20 21:08:40 +00:00
matthias.ringwald
311108c5d7 improve comment 2011-08-07 09:30:38 +00:00
matthias.ringwald
8020a108cf rewrote sdp_handle_service_search_request to match spec 2011-08-06 21:55:02 +00:00
matthias.ringwald
0bafad16f3 use standard buffer again 2011-08-06 21:07:03 +00:00
matthias.ringwald
70fb2aa016 comment test code 2011-08-06 21:03:04 +00:00
matthias.ringwald
573f264739 rewrote sdp_handle_service_attribute_request to support minimal buffers 2011-08-06 21:02:45 +00:00
matthias.ringwald
cf5c39ed1c rewrote sdp_handle_service_search_attribute_request to support minimal buffers 2011-08-06 20:49:43 +00:00
matthias.ringwald@gmail.com
5e4306556f extracted sdp_get_size_for_service_search_attribute_response 2011-08-06 16:12:44 +00:00
matthias.ringwald
4d749e8b1f sdp server - adapt to minimal MTU (started) 2011-08-06 14:41:20 +00:00
matthias.ringwald
a000fc19cc use max MTU for SDP and RFCOMM 2011-07-30 17:51:15 +00:00
matthias.ringwald
36a5e73594 streamline buffer size definitions throughtout the stack, use single HCI_PACKET_BUFFER_SIZE 2011-07-29 19:44:19 +00:00
matthias.ringwald
8f8108aabc replaced HCI_ACL_3DH5_SIZE with HCI_ACL_BUFFER_SIZE, add packet_types to hci_stack, set packet_types based on HCI_ACL_BUFFER_SIZE and Bluetooth module ACL buffer size, specify usable packet_types when creating connections 2011-07-26 21:18:45 +00:00
matthias.ringwald
7d67539f26 renamed log_err into log_error 2011-07-22 18:34:18 +00:00
matthias.ringwald
9cfae47295 fix warnings for unused variables 2011-07-22 10:22:40 +00:00
matthias.ringwald
7d3b3569b0 avoid 'enumerated type mixed with another type warnings' by IAR 2011-07-22 10:09:45 +00:00
matthias.ringwald
d312026eff update state before sending packet (avoid getting called when new l2cap credit gets emitted 2011-07-20 17:22:28 +00:00
matthias.ringwald
3c2c944968 only allow single connection to SDP server 2011-07-08 18:38:36 +00:00
matthias.ringwald
40d1c7a481 more -Wstrict-prototypes fixes 2011-06-06 14:12:38 +00:00
matthias.ringwald
c56623e5dc fix EMBEDDED version 2011-06-05 11:24:28 +00:00
matthias.ringwald
3072d6e50d missing header 2011-05-27 20:50:26 +00:00
matthias.ringwald
8dd5236b87 For EMBEDDED: add autonumbering and don't call free 2011-05-12 20:04:08 +00:00
matthias.ringwald
2547163c2e added sdp_register_packet_handler function, emit SDP_SERVICE_REGISTERED 2011-05-12 19:12:56 +00:00
matthias.ringwald
33a315a555 init sdp_service_records 2011-05-12 18:55:02 +00:00
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