1409 Commits

Author SHA1 Message Date
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
matthias.ringwald
c840b07bfe add utils used by sdp 2010-06-09 17:32:07 +00:00
matthias.ringwald
58de561001 also dispatch L2CAP DATA packets 2010-06-09 16:05:50 +00:00
matthias.ringwald
f8dd2f72bd pass on packet_handler from service to channel struct, pass on local_cid for l2cap events 2010-06-09 15:53:07 +00:00
matthias.ringwald
d8497f1904 provider param for packet handler in service registry 2010-06-09 15:39:55 +00:00
matthias.ringwald
1b0354c019 call into internal l2cap handler if specified for events 2010-06-09 15:33:55 +00:00
matthias.ringwald
b5a49eb182 introduce a packet handler pointer to l2cap services and channels, unset for now 2010-06-09 15:31:46 +00:00
matthias.ringwald
378e197db2 added big endian helpers to utils.c for SDP 2010-06-09 15:30:49 +00:00
matthias.ringwald
3959151bf9 more or less complete SDP ServiceRecord handling utilities 2010-06-08 18:52:10 +00:00
matthias.ringwald
8f41071939 no headers for sub-class 2010-06-08 18:47:23 +00:00
matthias.ringwald
00d93d799a handle multiple commands in a L2CAP sinaling packet 2010-06-08 18:45:45 +00:00
matthias.ringwald
30beaf6b2f added non-working draft of h5 2010-06-04 21:23:44 +00:00
matthias.ringwald
f34a2da101 inlined hci_transport_usb.h 2010-06-04 18:10:12 +00:00
matthias.ringwald
c6448b6742 inlined hci_transport_h4.h 2010-06-04 18:09:01 +00:00
matthias.ringwald
2277459341 test code to simulate remote name with invalid UTF-8 name 2010-05-28 21:34:12 +00:00
matthias.ringwald
efe00e9712 pause for 2 seconds after toggling Apple BT 2010-05-26 20:54:07 +00:00
matthias.ringwald
c07efcf512 replace BluetoothManager calls with SpringBoardAccess 2010-05-26 20:24:06 +00:00
matthias.ringwald
6cc9dcee8d extract primary l2cap signaling handler 2010-05-26 20:06:53 +00:00
matthias.ringwald
9e1615e576 also commit corrected spelling 2010-05-25 20:12:54 +00:00
matthias.ringwald
4da22db5dc respond to L2CAP ECHO_REQUEST and INFORMATION_REQUEST 2010-05-25 20:01:46 +00:00
matthias.ringwald
ddce1d8d00 set len in BTSTACK_EVENT_SYSTEM_BLUETOOTH_ENABLED correctly 2010-05-24 15:38:58 +00:00
matthias.ringwald
0e58dc4e0c killall BTServer to help Apple Bluetooth start up the next time 2010-05-24 15:09:06 +00:00
matthias.ringwald
db69bfd901 put iPad into deepsleep as power off doesn't work 2010-05-24 14:29:29 +00:00
matthias.ringwald
a83b7b0088 added hci_pin_code_request_negative_reply 2010-04-28 20:33:30 +00:00
matthias.ringwald
0d5a78db31 Refactor L2CAP data and event send 2010-04-05 22:47:52 +00:00
matthias.ringwald
037d6e4837 really unregister service 2010-03-25 19:19:17 +00:00
matthias.ringwald
8149d2c7c9 fix crash on app exit 2010-03-14 16:28:18 +00:00
matthias.ringwald
13939703e9 added master/slave role commands and events 2010-03-14 11:09:10 +00:00
matthias.ringwald
b35f641c7f clarify use of source_cid and dest_cid - use only for signal packets and use local_cid and remote_cid otherwise - fixes bug in incoming l2cap connection handling 2010-03-04 23:03:40 +00:00
matthias.ringwald
91f5bcb531 extract socket_connection_launchd_register_fd_array, support 2 sockets in launchd, work around malloc warning 2010-03-02 23:19:07 +00:00
matthias.ringwald
46acae3723 extract socket_connection_create_launchd from unix part 2010-03-02 20:58:27 +00:00
matthias.ringwald
75a700aaf9 patch from iwatth to allow BTdaemon run as tcp socket server 2010-02-28 22:02:28 +00:00
matthias.ringwald
504c9121df added bt_use_tcp and adapted bt_open 2010-02-28 21:45:22 +00:00
matthias.ringwald
34905c0dee added address and port to socket_connection_open_tcp 2010-02-28 21:39:54 +00:00
matthias.ringwald
913f4ccbaf added definition for bt_use_tcp() 2010-02-28 21:37:59 +00:00
matthias.ringwald
7856c8184a implement L2CAP packet recombination in hci.c using a max size L2CAP buffer per connection 2010-02-13 15:15:19 +00:00
matthias.ringwald
c1012e4687 need both current position and l2cap lenght 2010-02-13 15:14:01 +00:00
matthias.ringwald
2b3c6c9bc6 add missing include 2010-02-13 15:13:07 +00:00