-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Telink]: BLE commissioning (source part) #15723
Merged
bzbarsky-apple
merged 38 commits into
project-chip:master
from
rikorsev:telink_ble_commissioning_src
Mar 28, 2022
Merged
[Telink]: BLE commissioning (source part) #15723
bzbarsky-apple
merged 38 commits into
project-chip:master
from
rikorsev:telink_ble_commissioning_src
Mar 28, 2022
Conversation
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
…ection on Thread provisioning
…provements 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.
…able after connection
WARNING: This commit shall be reverted before pull request to upstream
PR #15723: Size comparison from 58cd5fb to be9519f Increases above 0.2%:
Increases (1 build for telink)
Decreases (1 build for telink)
Full report (26 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
rochaferraz
pushed a commit
to rochaferraz/connectedhomeip
that referenced
this pull request
Mar 31, 2022
* [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 <alex.tsitsiura@telink-semi.com> Co-authored-by: Andrii Bilynskyi <andriy.bilynskyy@gmail.com>
andrei-menzopol
pushed a commit
to andrei-menzopol/connectedhomeip
that referenced
this pull request
Apr 14, 2022
* [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 <alex.tsitsiura@telink-semi.com> Co-authored-by: Andrii Bilynskyi <andriy.bilynskyy@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Currently Zephyr OS does not contain implemented Telink BLE controller yet.
So that, BLE functionality for Matter project is implemented with Telink BLE SDK.
This is Source code part. Docker PR here: #15722
Docker PR shall be merged, built and pushed before This PR merge.
As soon new image will be built, new docker version will be updated in .github/workflows as well
Change overview
Testing
Tested manually with chip-tool.
Steps: