-
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.
Merge branch 'master' into fix_clear_dstoffset_on_settimezone
- Loading branch information
Showing
313 changed files
with
33,294 additions
and
11,662 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright (c) 2020 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. | ||
|
||
name: Recent Fail Summary | ||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
|
||
jobs: | ||
list_workflows: | ||
name: Summarize Recent Workflow Failures | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup | ||
run: | | ||
gh run list -b master -s failure --json displayTitle,workflowName > runlist.json | ||
pip install pandas | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
- name: Run Summarization Script | ||
run: python scripts/tools/summarize_fail.py | ||
|
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,32 @@ | ||
# Bluetooth Low Energy (BLE) | ||
|
||
## Nimble: scan response | ||
|
||
The `ConfigureScanResponseData` API is used to configure the scan response data | ||
for advertising in a Bluetooth Low Energy (BLE) application based on the NimBLE | ||
BLE stack. Scan response data is additional data that a BLE peripheral device | ||
can include in its advertising packets to provide more information about itself. | ||
This API allows you to set the scan response data that will be included in the | ||
advertising packets. | ||
|
||
### Usage | ||
|
||
``` | ||
{ | ||
uint8_t scanResponse[31]; // 0x05, 0x09, a, b, c, d | ||
scanResponse[0] = 0x05; | ||
scanResponse[1] = 0x09; | ||
scanResponse[2] = 0x61; | ||
scanResponse[3] = 0x62; | ||
scanResponse[4] = 0x63; | ||
scanResponse[5] = 0x64; | ||
chip::ByteSpan data(scanResponse); | ||
CHIP_ERROR err = chip::DeviceLayer::Internal::BLEMgrImpl().ConfigureScanResponseData(data); | ||
if (err != CHIP_NO_ERROR) | ||
{ | ||
ESP_LOGE(TAG, "Failed to configure scan response, err:%" CHIP_ERROR_FORMAT, err.Format()); | ||
} | ||
} | ||
``` | ||
|
||
Note: Scan response should be configure before `InitServer`. |
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.