-
Notifications
You must be signed in to change notification settings - Fork 37
chore: give characteristic operation observer access to value handle #1039
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
Conversation
|
Thanks for your first PR. We really appreciate it! |
Dependency ReviewThe following issues were found:
Snapshot WarningsConsider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. License Issuesosal/freertos/CMakeLists.txt
external/protobuf/CMakeLists.txt
osal/threadx/CMakeLists.txt
external/args/CMakeLists.txt
infra/syntax/CMakeLists.txt
external/crypto/mbedtls/CMakeLists.txt
external/crypto/tiny-aes128/CMakeLists.txt
external/crypto/micro-ecc/CMakeLists.txt
lwip/lwip/CMakeLists.txt
external/segger_rtt/CMakeLists.txt
cmake/emil_test_helpers.cmake
OpenSSF ScorecardScorecard details
Scanned Files
|
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 12 | 0 | 0 | 0.31s | |
| ✅ CPP | clang-format | 1043 | 9 | 0 | 0 | 7.87s |
| ✅ DOCKERFILE | hadolint | 2 | 0 | 0 | 0.37s | |
| ✅ JSON | jsonlint | 7 | 0 | 0 | 0.15s | |
| ✅ JSON | prettier | 7 | 0 | 0 | 0 | 0.58s |
| markdownlint | 6 | 0 | 4 | 0 | 1.18s | |
| ✅ MARKDOWN | markdown-table-formatter | 6 | 0 | 0 | 0 | 0.35s |
| ✅ REPOSITORY | checkov | yes | no | no | 21.95s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.05s | |
| ✅ REPOSITORY | grype | yes | no | no | 26.97s | |
| ✅ REPOSITORY | ls-lint | yes | no | no | 0.06s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 7.22s | |
| ✅ REPOSITORY | syft | yes | no | no | 1.39s | |
| ✅ REPOSITORY | trivy | yes | no | no | 5.39s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.19s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 2.31s | |
| lychee | 139 | 1 | 0 | 7.2s | ||
| prettier | 22 | 1 | 1 | 0 | 0.78s | |
| ✅ YAML | v8r | 22 | 0 | 0 | 6.75s | |
| ✅ YAML | yamllint | 22 | 0 | 0 | 0.7s |
Detailed Issues
⚠️ SPELL / lychee - 1 error
[404] https://github.com/protocolbuffers/protobuf/releases/download/v$%7Bprotobuf_tag%7D/protoc-$%7Bprotobuf_version%7D-$%7Bos_postfix%7D.zip | Network error: Not Found
📝 Summary
---------------------
🔍 Total..........439
✅ Successful.....435
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded.........3
❓ Unknown..........0
🚫 Errors...........1
Errors in external/protoc/CMakeLists.txt
[404] https://github.com/protocolbuffers/protobuf/releases/download/v$%7Bprotobuf_tag%7D/protoc-$%7Bprotobuf_version%7D-$%7Bos_postfix%7D.zip | Network error: Not Found
⚠️ MARKDOWN / markdownlint - 4 errors
external/crypto/tiny-aes128/README.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "### Tiny AES128 in C"]
external/crypto/tiny-aes128/README.md:29 MD046/code-block-style Code block style [Expected: fenced; Actual: indented]
external/crypto/tiny-aes128/README.md:39 MD046/code-block-style Code block style [Expected: fenced; Actual: indented]
external/crypto/tiny-aes128/README.md:49 MD046/code-block-style Code block style [Expected: fenced; Actual: indented]
⚠️ YAML / prettier - 1 error
[error] Explicitly specified pattern "documents/modules/ROOT/examples/clangformat.yaml" is a symbolic link.
.clusterfuzzlite/project.yaml 49ms (unchanged)
.github/dependabot.yml 20ms (unchanged)
.github/workflows/ci.yml 103ms (unchanged)
.github/workflows/dependency-scanner.yml 15ms (unchanged)
.github/workflows/documentation.yml 21ms (unchanged)
.github/workflows/fuzzing-batch.yml 12ms (unchanged)
.github/workflows/fuzzing-cron.yml 11ms (unchanged)
.github/workflows/fuzzing-pr.yml 6ms (unchanged)
.github/workflows/linting-formatting.yml 11ms (unchanged)
.github/workflows/release-please.yml 9ms (unchanged)
.github/workflows/security.yml 6ms (unchanged)
.github/workflows/social-interaction.yml 3ms (unchanged)
.github/workflows/static-analysis.yml 6ms (unchanged)
.github/workflows/validate-pr.yml 15ms (unchanged)
.ls-lint.yml 2ms
.mega-linter.yml 4ms (unchanged)
antora-playbook-branch.yml 4ms (unchanged)
antora-playbook-site.yml 3ms (unchanged)
documents/antora.yml 2ms (unchanged)
documents/supplemental-ui/ui.yml 2ms (unchanged)
mull.yml 2ms (unchanged)
See detailed reports in MegaLinter artifacts
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.2.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,CPP_CLANG_FORMAT,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GRYPE,REPOSITORY_LS_LINT,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R
|




This is sometimes required for the
GattServerCharacteristicOperations::Updatefunction where a characteristic value is updated.Sometimes the BLE stack requires the characteristic's
valueHandleto be passed instead of thehandle. For example in NIMBLE's ble_gatts_chr_updated. That can be worked around by copying thevalueHandleintohandle, but that's not a clean solution.amp-embedded-infra-lib/services/ble/GattServer.hpp
Lines 56 to 62 in 1d62b54