mila@ringwald.ch
|
a0c35809ae
|
streamline copyright headers
|
2015-02-06 16:19:27 +00:00 |
|
matthias.ringwald@gmail.com
|
cb0ff06b75
|
improve log messages for l2cap rx timer
|
2014-12-19 16:21:39 +00:00 |
|
ole.reinhardt@googlemail.com
|
c523d53df2
|
Initialise l2cap channel struct with 0 after allocating memory (make valgrind happy)
|
2014-11-18 21:37:34 +00:00 |
|
matthias.ringwald@gmail.com
|
f53da564a8
|
mark l2cap signal response pending to avoid sending it multiple times with synchronous HCI Transport implementation
|
2014-10-31 15:46:38 +00:00 |
|
matthias.ringwald@gmail.com
|
4d816277a7
|
only disconnect HCI connection in case of security block (fixes disconnect for non-existing service or resoucees full)
|
2014-10-24 10:30:56 +00:00 |
|
mila@ringwald.ch
|
f0efaa575f
|
L2CAP: validate packet size with remote MTU -> log_error
|
2014-10-23 19:43:04 +00:00 |
|
mila@ringwald.ch
|
e6f51008ec
|
fixed tracking of l2cap, rfcomm services and channels
|
2014-10-16 11:33:28 +00:00 |
|
matthias.ringwald@gmail.com
|
4d7157c318
|
fix daemon compile without BLE support
|
2014-10-13 19:40:50 +00:00 |
|
mila@ringwald.ch
|
da886c035d
|
le central handle connection update params
|
2014-10-10 15:20:54 +00:00 |
|
mila@ringwald.ch
|
4ff786cfeb
|
use HCI_ACL_PAYLOAD_SIZE to determine L2CAP MTU
|
2014-10-09 09:49:47 +00:00 |
|
mila@ringwald.ch
|
eb7f386b26
|
use hci_acl_le_data_buffer_length to get max le l2cap mtu
|
2014-10-09 09:08:48 +00:00 |
|
matthias.ringwald@gmail.com
|
54ed2ecaf7
|
fix remote_mtu and flush_timeout in L2CAP_EVENT_CHANNEL_OPENED
|
2014-09-05 14:34:22 +00:00 |
|
matthias.ringwald@gmail.com
|
bb69aaaeef
|
removed cast for btstack_memory_X_get calls
|
2014-09-04 20:35:14 +00:00 |
|
mila@ringwald.ch
|
03ce1a58ea
|
l2cap and rfcomm close connection functionality was moved to deamon
|
2014-08-22 13:46:37 +00:00 |
|
mila@ringwald.ch
|
baf94f0687
|
fix outgoing l2cap connections (regression 'hci_number_free_acl_slots: handle 0x0000 not in connection list')
|
2014-08-20 20:15:50 +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 |
|
mila@ringwald.ch
|
67a01a718e
|
fix compile
|
2014-08-15 14:44:57 +00:00 |
|
matthias.ringwald@gmail.com
|
e5e1518d8a
|
add l2cap_max_le_mtu
|
2014-08-14 15:36:00 +00:00 |
|
matthias.ringwald@gmail.com
|
e79abdd605
|
replace hci_number_free_acl_slots with hci_number_free_acl_slots_for_handle
|
2014-08-14 13:06:29 +00:00 |
|
matthias.ringwald@gmail.com
|
6cd4da6bc4
|
provide l2cap_can_send_fixed_channel_packet_now that takes handle as input
|
2014-08-11 21:49:15 +00:00 |
|
matthias.ringwald@gmail.com
|
a35252c8fd
|
use hci_can_send_acl_packet_now instead of hci_can_send_packet_now_using_packet_buffer, hci_can_send_prepared_acl_packet_now instead of hci_can_send_packet_now - providing handle if available
|
2014-08-11 21:40:02 +00:00 |
|
matthias.ringwald@gmail.com
|
d94d3caf6b
|
use hci_can_send_command_packet_now instead of hci_can_send_packet_now_using_packet_buffer(HCI_COMMAND_DATA_PACKET)
|
2014-08-11 21:20:07 +00:00 |
|
matthias.ringwald@gmail.com
|
6128d7404e
|
prevent use after free when daemon client connection is closed, fixes issue #402
|
2014-08-09 11:43:07 +00:00 |
|
matthias.ringwald@gmail.com
|
ccf076ad21
|
emit L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST and L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE
|
2014-08-08 20:52:02 +00:00 |
|
matthias.ringwald@gmail.com
|
c22aecc9a7
|
replace all manual list iteration with linked_list_iterator functions in l2cap
|
2014-07-31 21:18:43 +00:00 |
|
matthias.ringwald@gmail.com
|
9dcb2fb2ec
|
stop l2cap_rx_timer before free'ing l2cap_channel_t, fixes issue #404
|
2014-07-31 20:14:15 +00:00 |
|
matthias.ringwald@gmail.com
|
826f734756
|
replace hci_send_acl_packet(data,size) with hci_send_acl_packet_buffer(size) to document that ACL packet have to be prepared in the hci packet buffer
|
2014-07-30 20:46:27 +00:00 |
|
matthias.ringwald@gmail.com
|
e97722776d
|
use non-flushable packet boundary flag if supported - fixed unspecified behavior sending LE ACL packets
|
2014-05-09 13:29:58 +00:00 |
|
matthias.ringwald@gmail.com
|
e070741715
|
forward HCI Events to att and sm packet handlers, too
|
2014-04-28 20:51:11 +00:00 |
|
matthias.ringwald@gmail.com
|
96a45072cb
|
track Bluetooth Device Address Type in hci_connection_t struct
|
2014-04-25 10:43:19 +00:00 |
|
matthias.ringwald@gmail.com
|
68a0fcf7e2
|
added hci_release_packet_buffer() and l2cap_release_packet_buffer()
|
2014-04-03 20:24:24 +00:00 |
|
matthias.ringwald@gmail.com
|
facf93fdba
|
rename hci_get_outgoing_acl_packet_buffer into hci_get_outgoing_packet_buffer
|
2014-04-03 19:51:07 +00:00 |
|
matthias.ringwald@gmail.com
|
c8b9416af2
|
add asserts to check if buffer was reserved before calling send prepared
|
2014-04-03 19:37:03 +00:00 |
|
matthias.ringwald@gmail.com
|
3cab4fcaa6
|
add l2cap_can_send_connectionless_packet_now
|
2014-04-03 18:59:44 +00:00 |
|
matthias.ringwald@gmail.com
|
85889d6cd5
|
rename l2cap_can_send_packet_now_using_buffer to l2cap_can_send_packet_now
|
2014-04-03 15:31:14 +00:00 |
|
matthias.ringwald@gmail.com
|
7856fb3169
|
reserve l2cap packet buffer before using it
|
2014-04-03 15:16:45 +00:00 |
|
matthias.ringwald@gmail.com
|
2a373862b1
|
reserve hci packet buffer before using it
|
2014-04-03 15:02:14 +00:00 |
|
matthias.ringwald@gmail.com
|
6b4af23d08
|
add flag to track if hci packet buffer is reserved
|
2014-04-03 14:51:02 +00:00 |
|
matthias.ringwald@gmail.com
|
1bbc0b2387
|
reject any LE Signaling commands
|
2014-02-18 21:34:14 +00:00 |
|
matthias.ringwald@gmail.com
|
70efece186
|
prepare for sending command_reject on le signaling channel
|
2014-02-18 21:26:46 +00:00 |
|
matthias.ringwald@gmail.com
|
bd63148e69
|
execute l2cap_run() also for incoming events
|
2014-02-13 15:20:40 +00:00 |
|
matthias.ringwald@gmail.com
|
b087afb5b1
|
don't reject incoming SDP connection, see #378
|
2014-02-07 16:32:30 +00:00 |
|
matthias.ringwald@gmail.com
|
ac301f9556
|
added l2cap_require_security_level_2_for_outgoing_sdp
|
2014-01-28 21:53:35 +00:00 |
|
matthias.ringwald@gmail.com
|
1429b2d6b9
|
update state before calling function that might read it
|
2014-01-28 19:42:15 +00:00 |
|
matthias.ringwald@gmail.com
|
5533f01ef3
|
init l2cap->required_security_level to LEVEL_0 for outgoing connections
|
2014-01-28 18:43:31 +00:00 |
|
matthias.ringwald@gmail.com
|
5ca8d57be3
|
fix l2cap_reject
|
2014-01-24 15:58:42 +00:00 |
|
matthias.ringwald@gmail.com
|
2df5dadc33
|
fix creation of l2cap channel if hci connection already exists
|
2014-01-23 14:32:23 +00:00 |
|
matthias.ringwald@gmail.com
|
0e37e41729
|
added l2cap_send_echo_request with fixed sig id
|
2014-01-22 22:59:55 +00:00 |
|
matthias.ringwald@gmail.com
|
c42e2ff226
|
clear ATT and SM protocol handlers on l2cap_init()
|
2014-01-19 17:14:03 +00:00 |
|
matthias.ringwald@gmail.com
|
b5cb6874c1
|
don't send encryption command if authentication failed
|
2014-01-17 16:32:54 +00:00 |
|