Matthias Ringwald
d08566fb6e
posix: implement link key iterator for btstack_link_key_db_fs
2018-02-05 18:25:10 +01:00
Matthias Ringwald
98cd9557da
3rd-party: add tinydir to iterate over directories
2018-02-05 18:25:10 +01:00
Matthias Ringwald
caa3fd526c
example: new gap_link_keys example
2018-02-05 18:25:10 +01:00
Matthias Ringwald
1b6fb31be8
gap: add link key iterator functions
2018-02-05 18:25:09 +01:00
Matthias Ringwald
92369ee052
btstack_link_key_db: add iterator functions to interface
2018-02-05 18:25:09 +01:00
Matthias Ringwald
faf2b6c386
att_server: use PRIx32 for logging tags
2018-02-05 16:00:28 +01:00
Matthias Ringwald
24eb964e4e
l2cap: fix compile for le-only
2018-02-05 15:57:21 +01:00
Matthias Ringwald
f68b21d788
l2cap: remove unnecessarry casts
2018-02-05 15:30:55 +01:00
Matthias Ringwald
7740e150a7
l2cap: round robin over all channel types (classic, le data channel, fixed)
2018-02-05 15:19:00 +01:00
Matthias Ringwald
fad84caf30
l2cap: manage fixed channels for ATT, SM, and Connectionless Data in l2cap_fixed_channel_t and keep in unified channels list
2018-02-05 15:19:00 +01:00
Matthias Ringwald
421cb1044d
l2cap: keep classic and le data channels in single channel list
2018-02-05 15:19:00 +01:00
Matthias Ringwald
5d18f62371
l2cap: define l2cap_channel_type_t and set for new channels
2018-02-05 15:19:00 +01:00
Matthias Ringwald
387b0525e9
stm32-l053r8-em9304: support ENABLE_SEGGER_RTT
2018-02-05 15:16:23 +01:00
Matthias Ringwald
f50ef7dd1f
att_db/att_server: log_info -> log_debug to have no debug output for le streamer
2018-02-05 12:15:59 +01:00
Matthias Ringwald
785879c691
hci_dump: print hci_dump.pklg path to console for all windows & posix ports
2018-02-05 10:01:25 +01:00
Matthias Ringwald
c5541f687d
tc3566x: add to posix-h4 and windows-h4 ports
2018-02-05 10:00:01 +01:00
Matthias Ringwald
624bb9dc38
nrf5-zephyr: recommend Zephyr 1.9-branch for use with BTstack
2018-02-05 09:52:18 +01:00
Matthias Ringwald
59ac44af82
chipsets: specify BLE firmware size of ATWILC3000, update TC35661 info after testing -007 variant
2018-02-05 09:47:50 +01:00
Matthias Ringwald
004902f13e
hci: reset num cmd packets after sending baud rate command and receiving vendor event on Toshiba chipsets
2018-02-03 23:15:52 +01:00
Matthias Ringwald
0614d6792d
example/sm_pairing_central: print SM_EVENT_PAIRING_COMPLETE
2018-02-01 17:37:32 +01:00
Matthias Ringwald
eee18978d4
example/sm_pairing_central: print SM_EVENT_PAIRING_COMPLETE
2018-02-01 17:37:32 +01:00
Matthias Ringwald
accbde8064
sm: emit SM_EVENT_PAIRING_COMPLETE
2018-02-01 17:37:32 +01:00
Matthias Ringwald
36c1abd2e3
btstack_event: add SM_EVENT_PAIRING_COMPLETE
2018-02-01 17:37:29 +01:00
Matthias Ringwald
589f5a99a3
sm: sm_notify_client_authorization -> sm_notify_client_status for use with SM_EVENT_PAIRING_COMPLETE
2018-02-01 16:07:24 +01:00
Matthias Ringwald
16a1a3e5b4
bluetooth.h: fix typo in SM_REASON_PASSKEY_ENTRY_FAILED
2018-02-01 16:07:24 +01:00
Matthias Ringwald
6420f61ec7
sm: remove dead code
2018-02-01 16:06:43 +01:00
Matthias Ringwald
7f711b41e5
btstack_event: remove whitespace for struct return values
2018-02-01 15:45:20 +01:00
Matthias Ringwald
7fa79385c8
example/le_streamer_client: use gatt_client_request_can_write_without_response_event
2018-02-01 15:17:49 +01:00
Matthias Ringwald
47181045ae
gatt_client: add gatt_client_request_can_write_without_response_event()
2018-02-01 15:17:03 +01:00
Matthias Ringwald
71af96a130
btstack_event: add GATT_EVENT_CAN_WRITE_WITHOUT_RESPONSE
2018-02-01 13:50:36 +01:00
Matthias Ringwald
047a7fd38a
att_dispatch: request another can send now event if needed
2018-02-01 12:28:31 +01:00
Matthias Ringwald
7a705a928c
att_dispatch: round robin for client & server
2018-02-01 12:19:12 +01:00
Matthias Ringwald
53e41ec1de
att_dispatch: store client and server in array, simplify packet handler
2018-02-01 12:08:41 +01:00
Matthias Ringwald
25684bfca7
att_dispatch: fix packet type for ATT_EVENT_MTU_EXCHANGE_COMPLETE, extract emit_mtu_exchange_complete
2018-02-01 11:55:50 +01:00
Matthias Ringwald
45f2a74090
gatt_client: requeue gatt client after send for fairness
2018-02-01 11:40:58 +01:00
Matthias Ringwald
544128c36f
gatt_client: extract gatt_client_run_for_peripheral, don't abort gatt_client_run if one gatt client is in SENT_MTU_EXCHANGE state, request can_send_now when sending any packet
2018-02-01 11:32:42 +01:00
Matthias Ringwald
c6a0bdd74a
more .gitignore
2018-02-01 11:07:11 +01:00
Matthias Ringwald
6973c35a87
em9304: configure for 8 connections with data length 251
2018-01-31 16:44:01 +01:00
Matthias Ringwald
4e5e1eb09e
att_db_util: return attribute handle for new servics, improve header documentation
2018-01-31 16:13:17 +01:00
Matthias Ringwald
838e632c8e
gatt_client: drop gatt_client_pts_suppress_mtu_exchange function, replaced by gatt_client_mtu_enable_auto_negotiation(0)
2018-01-30 19:12:48 +01:00
Jakob Krantz
5cf6c43447
gatt_client: Adds configuration for when or if a MTU negotiation should be made.
...
- Disable automatic MTU negotiation for gatt_client. Add method to manually
send a MTU negotiation
2018-01-30 19:12:48 +01:00
Jakob Krantz
b12646c53b
att_dispatch: Propogate MTU update to both att_server and gatt_client.
...
According to the BT 5.0 spec. A MTU negotiation shall only be required in one
direction. I.e. We must propogate the negotiated MTU between gatt_client
and att_server.
2018-01-30 19:12:33 +01:00
Matthias Ringwald
25818320b7
l2cap: allow to set the max LE MTU
2018-01-30 19:01:33 +01:00
Jakob Krantz
8f37572a30
Adds missing emit of GATT_EVENT_MTU when the MTU has changed.
2018-01-30 18:52:21 +01:00
Matthias Ringwald
9c77c9db73
hci: fix handling of le connection complete with ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER as result of hci le create connection cancel command
2018-01-30 18:49:31 +01:00
Matthias Ringwald
993da9623b
test/att_db: fix compile
2018-01-30 17:35:29 +01:00
Matthias Ringwald
46eb6b51b8
att_db_util.c: fix include path
2018-01-30 17:33:30 +01:00
Matthias Ringwald
9f28d85d18
att_db_util: add functions to create descriptors. document how to calculate cccd attribute handle
2018-01-30 17:29:10 +01:00
Jakob Krantz
b489552907
Fixes bug where the descriptor UUID16 was not set even thought it had one.
...
When deserializeing a characteristic_descriptor the UUID16 wouldn't be set even
thought it had an 16 bit UUID. This adds check to see if the descriptor has a
UUID16, if so, we read the UUID16 and set it to the gatt_client_characteristic_descriptor_t.
2018-01-30 17:02:31 +01:00
Jakob Krantz
cbe54ab248
Adds option to set the connection_scan_interval and connection_scan_window.
2018-01-30 16:59:28 +01:00