Merge bluetooth branch into master
- Use k_poll to consolidate all TX threads into a single one
- Reuse HCI command buffers for storing their response
- Improvements to SDP client support
- New "volatile subscription" flag to GATT API
- Various smaller fixes & cleanups here and there
----------------------------------------------------------------
Arkadiusz Lichwa (8):
Bluetooth: SDP: Get ProtocolDescriptorList attribute internals
Bluetooth: shell: Add SDP client support
Bluetooth: uuid: Fix assigned UDP uuid value
Bluetooth: SDP: Add API to get ProfileDescriptorList attribute
Bluetooth: shell: Add getting ProfileDescriptorList attribute
Bluetooth: SDP: Add API to get SupportedFeature attribute
Bluetooth: shell: Use SupportedFeature attribute API
Bluetooth: shell: Add support to retrieve A2SRC record
Arun Jagadish (2):
Bluetooth: AVDTP: Remove buffer pool
Bluetooth: AVDTP: Add AVDTP Discover Function Definition
Carles Cufi (1):
Bluetooth: hci_core: Use nRF5x FICR address
Jaganath Kanakkassery (2):
Bluetooth: RFCOMM: Fix session timer during acl disc
Bluetooth: RFCOMM: Use common tx pool for control packets
Johan Hedberg (15):
Bluetooth: Fix trivial coding style issue
Bluetooth: Fix checking for invalid public address
Bluetooth: Fix using correct variable type for interrupt mask
Bluetooth: Fix buffer leak when HCI driver send() fails
Bluetooth: drivers/h4: Add support for discarding certain events
Bluetooth: Add convenience macros for common header sizes
Bluetooth: Kconfig: Merge headroom reserve variables into a single one
Bluetooth: Controller: Redesign response buffer allocation for commands
Bluetooth: Reuse HCI command buffers for the command response
Bluetooth: conn: Use delayed work for LE connection timeout
Bluetooth: Merge bt_conn TX threads into a single one with k_poll
Bluetooth: Merge HCI command and connection TX threads
Bluetooth: samples: Add missing README.rst files
Bluetooth: Controller: Use LL_ASSERT instead of BT_ASSERT
Bluetooth: Fix incorrect checks for command buffer user data
Jonathan Gelie (3):
Bluetooth: GATT: introduce volatile subscription flag
Bluetooth: GATT: set subscribe value to zero for unsubscription
Bluetooth: GATT: fixing unsubscription
Luiz Augusto von Dentz (1):
Bluetooth: GATT: Fix not removing subscriptions safely
Sathish Narasimman (5):
Bluetooth: HFP HF: Service level connection completed
Bluetooth: HFP HF: Enable extended AG Error Result Code
Bluetooth: HFP HF: Indicate disconnect to application
Bluetooth: HFP HF: Disconnect rfcomm on SLC error
Bluetooth: HFP HF: Remove unused variable 'buf'
Szymon Janc (5):
Bluetooth: Use assert when getting net buf with K_FOREVER
Bluetooth: Remove some dead code
Bluetooth: L2CAP: Remove dead code
Bluetooth: SDP: Make bt_sdp_create_pdu static
Bluetooth: L2CAP: Make l2cap_br_send_conn_rsp return void
drivers/bluetooth/hci/Kconfig | 13 +-
drivers/bluetooth/hci/h4.c | 93 +++-
drivers/bluetooth/hci/h5.c | 47 +-
drivers/bluetooth/hci/spi.c | 13 +-
drivers/bluetooth/nble/gatt.c | 76 +--
include/bluetooth/buf.h | 13 +-
include/bluetooth/gatt.h | 18 +-
include/bluetooth/hci.h | 9 +-
include/bluetooth/l2cap.h | 20 +-
include/bluetooth/sdp.h | 51 ++-
include/bluetooth/uuid.h | 2 +-
samples/bluetooth/handsfree/README.rst | 23 +
samples/bluetooth/hci_uart/src/main.c | 11 +-
samples/bluetooth/hci_usb/src/main.c | 11 +-
samples/bluetooth/peripheral_sc_only/README.rst | 26 ++
subsys/bluetooth/controller/hci/hci.c | 153 ++++---
subsys/bluetooth/controller/hci/hci_driver.c | 23 +-
subsys/bluetooth/controller/hci/hci_internal.h | 2 +-
subsys/bluetooth/controller/ll/ctrl.c | 2 +-
subsys/bluetooth/host/Kconfig | 10 +-
subsys/bluetooth/host/at.c | 2 +-
subsys/bluetooth/host/at.h | 3 +-
subsys/bluetooth/host/avdtp.c | 81 +++-
subsys/bluetooth/host/avdtp_internal.h | 7 -
subsys/bluetooth/host/conn.c | 178 ++++----
subsys/bluetooth/host/conn_internal.h | 15 +-
subsys/bluetooth/host/gatt.c | 142 +++---
subsys/bluetooth/host/hci_core.c | 285 ++++++++----
subsys/bluetooth/host/hci_core.h | 6 +
subsys/bluetooth/host/hci_ecc.c | 6 +-
subsys/bluetooth/host/hci_raw.c | 12 +
subsys/bluetooth/host/hfp_hf.c | 50 +-
subsys/bluetooth/host/l2cap.c | 35 --
subsys/bluetooth/host/l2cap_br.c | 49 +-
subsys/bluetooth/host/l2cap_internal.h | 7 +-
subsys/bluetooth/host/rfcomm.c | 31 +-
subsys/bluetooth/host/rfcomm_internal.h | 5 +-
subsys/bluetooth/host/sdp.c | 584 +++++++++++++++++++++++-
tests/bluetooth/shell/src/main.c | 172 +++++++
39 files changed, 1700 insertions(+), 586 deletions(-)
create mode 100644 samples/bluetooth/handsfree/README.rst
create mode 100644 samples/bluetooth/peripheral_sc_only/README.rst
Change-Id: I7589dbad8b97477c72d1b856121593bcf6d11339
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>