OSDN Git Service

isomanager: Add callback to create cis command
authorŁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>
Mon, 2 Nov 2020 14:13:14 +0000 (14:13 +0000)
committerŁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>
Wed, 4 Nov 2020 20:58:21 +0000 (20:58 +0000)
commit86783d335e6555cfa50c40e97de13e5a986761a3
tree98420c177338cdfb4acd4c7d0a79517d2d29b1ed
parent0d052e5dfe9cab5e539204dff783816a6baedfd9
isomanager: Add callback to create cis command

This is in order to handle errors in Command Status:

< HCI Command: LE Create Connected Isochronous Stream (0x08|0x0064) plen 5
        Number of CIS: 1
        CIS Handle: 96
        ACL Handle: 65
> HCI Event: Command Status (0x0f) plen 4
      LE Create Connected Isochronous Stream (0x08|0x0064) ncmd 1
        Status: Unsupported Remote Feature / Unsupported LMP Feature (0x1a)

With this patch, IsoManager can notify upper layer about error in creating
CIS

Bug: 150670922
Tag: #feature
Test: atest --host net_test_btm_iso
Sponsor: jpawlowski@

Change-Id: Ie90fcaea5df070ddf9441f7b6de24a1282995857
stack/btm/btm_iso_impl.h
stack/hcic/hciblecmds.cc
stack/include/hcimsgs.h
stack/test/btm_iso_test.cc
stack/test/common/mock_hcic_layer.cc
stack/test/common/mock_hcic_layer.h