mila@ringwald.ch
|
7fe7736638
|
added log error if peripheral mtu is not iniitalized
|
2014-12-03 22:33:07 +00:00 |
|
mila@ringwald.ch
|
898d522e43
|
document max_mtu and mtu of att_connection
|
2014-12-03 22:17:25 +00:00 |
|
matthias.ringwald@gmail.com
|
66771e4d3a
|
emit GATT_QUERY_COMPLETE for Read Characteristic Value and Read Characteristic Descriptor
|
2014-12-03 20:40:53 +00:00 |
|
mila@ringwald.ch
|
0d7c65122a
|
updated copyright header
|
2014-11-27 13:20:52 +00:00 |
|
matthias.ringwald@gmail.com
|
8fb59d68a7
|
fix typo
|
2014-11-18 12:56:47 +00:00 |
|
matthias.ringwald@gmail.com
|
eb37a75f1d
|
fix use of max mtu for att server
|
2014-11-18 12:56:07 +00:00 |
|
matthias.ringwald@gmail.com
|
352208daaa
|
use att_connection.mtu instead of calling l2cap_max_mtu (for better testing)
|
2014-11-06 11:40:20 +00:00 |
|
mila@ringwald.ch
|
349c7a6328
|
removed call to l2cap_le_mtu from att
|
2014-11-06 10:36:35 +00:00 |
|
matthias.ringwald@gmail.com
|
7b472d9ff8
|
moved ancs_client_lit into ble/
|
2014-10-31 16:12:52 +00:00 |
|
mila@ringwald.ch
|
3e05add930
|
gtt client extended to handle multiple subclients of a peripheral
|
2014-10-31 15:58:44 +00:00 |
|
mila@ringwald.ch
|
0f058b53b4
|
fix compile
|
2014-10-31 15:08:16 +00:00 |
|
matthias.ringwald@gmail.com
|
254e71e6e7
|
update FSM state before sending an HCI command or L2CAP packet to avoid theoretical race-condition of response arriving before state was updated
|
2014-10-16 15:02:48 +00:00 |
|
matthias.ringwald@gmail.com
|
b832792a22
|
use IO_CAPABILITY_NO_INPUT_NO_OUTPUT as default for LE (same as for Classic now)
|
2014-10-16 13:56:25 +00:00 |
|
matthias.ringwald@gmail.com
|
d2ec4031ba
|
avoid /** comments, clean up block comments
|
2014-10-16 09:15:23 +00:00 |
|
mila@ringwald.ch
|
b30d296ecf
|
cast BTstack error
|
2014-10-09 20:40:29 +00:00 |
|
mila@ringwald.ch
|
d11cb9e143
|
fix compile
|
2014-10-09 10:16:32 +00:00 |
|
mila@ringwald.ch
|
2d27d5e979
|
att mtu is per default ATT MTU MIN. During MTU exchange is set to a max l2cap le mtu
|
2014-10-09 10:09:04 +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
|
edb8d076e0
|
used HCI_ACL_PAYLOAD_SIZE as att request buffer size
|
2014-10-09 09:11:49 +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 |
|
mila@ringwald.ch
|
7c40ac80c0
|
rewrote gatt_client state handling: API uses handles instaed of context structs (adapted examples and daemon)
|
2014-10-02 20:06:29 +00:00 |
|
mila@ringwald.ch
|
01159b07a8
|
added ATT_ERROR_TIMEOUT
|
2014-10-02 19:56:07 +00:00 |
|
matthias.ringwald@gmail.com
|
c37a3166d2
|
added gap_update_connection_parameters
|
2014-09-21 19:43:59 +00:00 |
|
mila@ringwald.ch
|
5b09aef38a
|
check client handler before calling it att_server
|
2014-09-07 19:27:54 +00:00 |
|
matthias.ringwald@gmail.com
|
22f6379b3a
|
set state before notifying user
|
2014-09-05 14:59:16 +00:00 |
|
mila@ringwald.ch
|
d80fc61e5a
|
checks splitted and moved to appropriate palaces in the switch statement
|
2014-08-28 09:05:58 +00:00 |
|
matthias.ringwald@gmail.com
|
756ca330b0
|
don't call sm_run before event handler, avoids warning. don't check for l2cap_can_send_now if no connection
|
2014-08-28 07:50:13 +00:00 |
|
matthias.ringwald
|
b1bb02c964
|
move check for acl packets after state machines for CMAC, key generation, random address generation
|
2014-08-27 12:52:20 +00:00 |
|
matthias.ringwald
|
d37bc63c22
|
use READ_BT_32 to avoid crash beacuse of non-aligned data access
|
2014-08-27 12:50:09 +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
|
219eea5f01
|
fix compile
|
2014-08-14 21:31:36 +00:00 |
|
matthias.ringwald@gmail.com
|
e5e1518d8a
|
add l2cap_max_le_mtu
|
2014-08-14 15:36:00 +00:00 |
|
matthias.ringwald@gmail.com
|
97e8ef4a90
|
fix warnings
|
2014-08-11 22:09:43 +00:00 |
|
matthias.ringwald@gmail.com
|
c51c539d70
|
remove unused function
|
2014-08-11 22:07:10 +00:00 |
|
matthias.ringwald@gmail.com
|
d27c46f584
|
fix compile
|
2014-08-11 22:00:51 +00:00 |
|
matthias.ringwald@gmail.com
|
f9a298a27e
|
use l2cap_can_send_fixed_channel_packet_now
|
2014-08-11 21:58:44 +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
|
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
|
eb036bf832
|
use ATT_DEFAULT_MTU instead of l2cap classic mtu
|
2014-07-15 20:55:01 +00:00 |
|
matthias.ringwald@gmail.com
|
c9420e0c91
|
added default ATT MTU
|
2014-07-15 20:54:07 +00:00 |
|
mila@ringwald.ch
|
d3b1c40fa3
|
renamed gatt client register handler function
|
2014-07-04 08:42:30 +00:00 |
|
mila@ringwald.ch
|
94a521cb7e
|
gatt client: api docu
|
2014-07-03 13:42:30 +00:00 |
|
mila@ringwald.ch
|
59bda8dea8
|
gatt client: api docu
|
2014-07-03 10:41:45 +00:00 |
|
matthias.ringwald@gmail.com
|
a93597fce0
|
return after sending an l2cap packet
|
2014-07-01 22:03:40 +00:00 |
|
matthias.ringwald@gmail.com
|
252bfddcb7
|
removed obsolete include left over from testing
|
2014-07-01 20:07:17 +00:00 |
|
mila@ringwald.ch
|
659c39066f
|
gatt client: adding docu
|
2014-06-27 15:24:31 +00:00 |
|
matthias.ringwald@gmail.com
|
a2cfedb666
|
more Python 3 fixes: open .gatt as unicode and use StringIO from io module
|
2014-06-22 21:26:07 +00:00 |
|
matthias.ringwald@gmail.com
|
2b1addd97e
|
add missing function
|
2014-06-20 21:49:02 +00:00 |
|