- Sep 04, 2020
-
-
Chris Manton authored
Using strict types tBLE_ADDR_TYPE Towards readable code Bug: 163134718 Tag: #refactor Test: compile & verify basic functions working Change-Id: I1177d0a1f3054af4ef739d38703ca53a8b5fbf52
-
Chris Manton authored
Using strict types tBLE_ADDR_TYPE Towards readable code Bug: 163134718 Tag: #refactor Test: compile & verify basic functions working Change-Id: Ieb3b5a50f12317b926a96d6886f431686ef2d37d
-
Jakub Pawlowski authored
-
Jakub Pawlowski authored
* changes: Fall back to Read Request when reading Characteristic Extended Properties Server support for Characteristic Extended Properties Client support for Characteristic Extended Properties
-
Treehugger Robot authored
-
- Sep 03, 2020
-
-
Łukasz Rymanowski authored
This patch fixes a regression after commit 13c39b9b stack/gatt: Extend calls with CID Notification confirmation was not taken into account. For notification function attp_send_cl_msg() is called with p_clcb NULL which leads to a crash in the following line: uint16_t payload_size = gatt_tcb_get_payload_size_tx(tcb, p_clcb->cid); This patch introduces a new function: attp_send_cl_confirmation_msg() which is used only for sending confirmation. Also this patch makes sure that cid is provided to the GATT client so it can be used in the confirmation call. Note: handle was removed from the confirmation call as it is redundant. The only missing part in this patch is handling timers per each indication and this will be fixed in following patches which will add eatt support. Tag: #feature Bug: 159786353 Sponsor: jpawlowski@ Test: compile & manual Change-Id: I8bdb38ec673e11744d670223e5416be01666e1a6
-
Martin Brabham authored
Add InitFlags::GdSecurityEnabled() Bug: 162984360 Tag: #gd-refactor Test: cert/run --host SecurityTest Test: atest --host bluetooth_test_gd Test: Manual testing with hybrid stack Change-Id: Ic6e164dcd448831a4af4758a13f2c89bf8fd4c27
-
Hansong Zhang authored
Bug: 159815595 Tag: #refactor Test: compile & verify basic functions working Change-Id: I7d284a76a6479ff8ba628e84fa87c76aee07ef11
-
Hansong Zhang authored
Don't pass handle directly Bug: 159815595 Tag: #refactor Test: compile & verify basic functions working Change-Id: I506d420fdcf3253d97f0a04410b66fe3b3fdf46e
-
Treehugger Robot authored
-
Jakub Pawlowski authored
-
Jakub Pawlowski authored
If Read Multiple Request is not supported, fall back to Read Request. Test: Manually tested against device modified to not support Read Multiple Request (GATT_REQ_READ_MULTI in gatt_server_handle_client_req forced to return GATT_REQ_NOT_SUPPORTED) Bug: 110864501 Change-Id: I262678c93f2c3e56832502d1f46542dfc97c7904
-
Jakub Pawlowski authored
Test: sl4a GattExtendedPropertiesTest Bug: 110864501 Change-Id: If04b28f1b90c1f7b5a6f53673f6bd2c4791f28bb
-
Jakub Pawlowski authored
Read value of Characteristic Extended Properties descirptors as part of GATT service discovery process. Also store this value as part of GATT Cache. Test: updated GattDatabaseTest.serialize_deserialize_binary_test added GattCacheTest.stored_attribute_to_binary_characteristic_extended_properties_test Added sl4a GattExtendedPropertiesTest Bug: 110864501 Change-Id: Iccd8aa378c14e75f91d761a675c7c23f096ce2da
-
Jakub Tyszkowski authored
Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ Test: compilation Change-Id: Ic34affd365d2fe873043b754a4a2315077a58092
-
Chris Manton authored
Bug: 166280067 Test: compile Tag: #refactor Change-Id: I6f79df1b7126d5237d9b2c9bcac3c3a65aaff19c
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Sep 02, 2020
-
-
Jack He authored
Bug: 159815595 Test: make phone call with HFP Tag: #refactor Change-Id: Idcca06da14c1212c28fb1dadd215b4035202b60f
-
Jack He authored
Bug: 167564040 Bug: 159815595 Tag: #refactor Test: compile & verify hfp is working Change-Id: Ife1c3bc68d0f805946e70e172b90bb96abf9fb33
-
Dylan Katz authored
This adds a fuzzer for l2cap and a few related subcomponents. Test: gd/fuzz/run bluetooth_gd_l2cap_fuzzer Tag: #feature Bug: 167425311 Sponsor: zachoverflow@ Signed-off-by:
Dylan Katz <dylan.katz@leviathansecurity.com> Change-Id: I052f103929749b6532c66881cf88589375cf8a5d
-
Martin Brabham authored
- Add several API implementations - Connect callbacks to UI Bug: 162984360 Tag: #gd-refactor Test: cert/run --host SecurityTest Test: atest --host bluetooth_test_gd Test: Manual testing with hybrid stack Change-Id: Ibe225070223ad1d695ea0226e93ec39ffb1531e8
-
Treehugger Robot authored
-
Treehugger Robot authored
* changes: Add a way to enforce l2cap security by requirement L2cap sec: Remove the workaround for legacy device
-
Jakub Pawlowski authored
* changes: stack/l2c: Add helper l2cu_reject_ble_coc_connection stack/gatt: Extend calls with CID
-
Łukasz Rymanowski authored
New helper will take tL2C_CCB* as a parameter (when available). This will be needed later on when this function will need more more knowledge. Tag: #feature Bug: 159786353 Test: compilation Sponsor: jpawlowski@ Change-Id: I5b7c552c7c1421eaaead70d68ca017341b5363c7
-
Martin Brabham authored
- IO Capability Request - IO Capability Response - User Confirmation Request Bug: 159815595 Tag: #gd-refactor Test: cert/run --host SecurityTest Test: atest --host bluetooth_test_gd Test: Manual testing with hybrid stack Change-Id: I30aee8b7c29d6784d62fb5d900fee7bb223aaf10
-
Martin Brabham authored
Bug: 159815595 Tag: #gd-refactor Test: cert/run --host SecurityTest Test: atest --host bluetooth_test_gd Test: Manual testing with hybrid stack Change-Id: I1f86b0d6ae924e0ea068831cfb27f737df32018d
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Łukasz Rymanowski authored
This is preparation for EATT Tag: #feature Bug: 159786353 Sponsor: jpawlowski@ Test: atest net_test_stack Change-Id: Ie209b705f6cc458286e9566919280ed5e2de60c9
-
Jakub Pawlowski authored
-
Chris Manton authored
Bug: 143604331 Test: net_test_stack_gatt_native Change-Id: I88704d74ba0c265872fbfd20c8bcd3bc1dd60360 Merged-In: I88704d74ba0c265872fbfd20c8bcd3bc1dd60360
-
Chienyuan authored
Bug: 159815595 Tag: #gd-refactor Test: gd/cert/run --host Test: manual Change-Id: Ie910933ed1e9c9619fc0eddd03e41576513ec207
-
Chienyuan authored
Bug: 152348535 Tag: #gd-refactor Test: gd/cert/run --host Test: atest bluetooth_test_gd Change-Id: I5254e08f12cc547339f51489dfd06ee2fcd25d57
-
Treehugger Robot authored
-
Chris Manton authored
Test: atest bluetooth_test_gd Bug: 166280067 Tag: #refactor Change-Id: I720045436cd0405b2b9ea1c0e657f8128dffa3a1
-
Zach Johnson authored
* SCO events have secondary actions that need to be handled * Also remove event masking, which is no longer needed Bug: 167349211 Bug: 159815595 Tag: #refactor Test: compile & verify Bluetooth connections are working Change-Id: If8d3aa873b55b5d6936c16766fd6c1c49749002d
-
Hansong Zhang authored
Instead of finding the service from psm, and finding the requirement from the service record, enforce that specific requirement directly Bug: 159815595 Tag: #refactor Test: compile & verify basic functions working Change-Id: I4614e05ef59e37d466578f4d86122b41a56121cd
-