-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Telink]: BLE commissioning (source part) (#15723)
* [Telink]: Add basic skeleton to integrate Telink SDK * [Telink]: Rework Telink SDK integration skeleton * [Telink]: Prepare BLEManagerImpl sceleton for implementation * [Telink]: BLE advertisement is scanable by chip-device-ctrl tool * [Telink]: Fix mDNS error occurs on commissioning window opening * [Telink]: Implement Matter BLE connection * [Telink]: Remove my_ prefix for GATT variables * [Telink]: Implement Matter GATT Services * [Telink]: Fix issue with improper structure alignment * [Telink]: Implement Rx characteristic write handling * [Telink]: Implement Matter BLE secure connection * [Telink]: Move Shutdown implementation to .cpp part * [Telink]: Add data->is_ready flag to manipulate radio driver state * [Telink]: Adapt solution for Thread 1.2 * [Telink]: Increase size of CHIP thread stack due to stack overflow issue * [Telink]: Add board name to CMakeLists.txt * [Telink]: Add HandleThreadStateChange method to automatic BLE disconnection on Thread provisioning * [Telink]: Refactoring of SwitchToIeee802154 and other cleanups and improvements The commit itself is not really stable. It should be definitely cleaned in a future WARNING: for debug purposes, timeouts in src/platform/DeviceControlServer.cpp and src/platform/DeviceControlServer.cpp has been hard-coded with bigger value. The timeouts shall be changed back in the future. * [Telink]: Fix issue with interrupts disabling after commissioning completion * [Telink]: Fix issue with memory corruption in _InitStack() method * [Telink]: Remove debug LED initialization form BLEManagerImpl * [Telink]: Restore default timeouts * [Telink]: Add tlsr9518adk80d overlay to setup clock frequency to 96MHz * [Telink]: Fix issue when Matter GATT characteristics are not discoverable after connection * [Telink]: Modify default CHIP library timeouts to meet Telink IC timings WARNING: This commit shall be reverted before pull request to upstream * [Telink]: Adapt solution for latest Zephyr commit * [Telink]: Change log level * [Telink]: Remove unnecessary SwitchToIeee802154 * [Telink]: Fix issue with non-logging of Detail log level * [Telink]: Fix fail at the end of commissioning * [Telink]: Cleanups * [Telink]: Restyled fix * [Telink]: Update lighting example Readme.md * [Telink]: Remove unnecessary reboot.h include * [Telink]: Fix spelling mistakes * [Telink]: Remove restriction for progress logging * [Telink]: Add HW cryptography support. * [Telink]: Update docker image version to 0.5.59 Co-authored-by: Alex Tsitsiura <[email protected]> Co-authored-by: Andrii Bilynskyi <[email protected]>
- Loading branch information
Showing
46 changed files
with
15,334 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright (c) 2020-2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
declare_args() { | ||
# Root directory for Telink SDK. | ||
telink_sdk_build_root = "//third_party/telink_sdk" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
rsource "../../zephyr/Kconfig" | ||
|
||
config TELINK_BLE_LIB | ||
bool "Include third party Telink BLE SDK" | ||
default n | ||
help | ||
Include third party Telink BLE SDK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
|
||
build: | ||
cmake: . | ||
kconfig: ../../zephyr/Kconfig | ||
kconfig: Kconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.