-
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
[EFR32] BLE Advertissement fixes and change default pin code #5503
Merged
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
- Change default SetupPincode value for lock adn light example, can be changed with build arguments - Set random BLE advertissement addresse at advertissement start. - Add Advertissement times outs -> fast advertisement 25ms from 0 to 30s, slow adv 500ms 30s to 15m, stop adv after that
jepenven-silabs
approved these changes
Mar 19, 2021
andy31415
approved these changes
Mar 22, 2021
woody-apple
approved these changes
Mar 22, 2021
jmartinez-silabs
added a commit
to jmartinez-silabs/connectedhomeip
that referenced
this pull request
Mar 22, 2021
… add ble advertissement timeouts - fix conflicts from Cherry picking due to api modified in master vs test_event_1 tag
jmartinez-silabs
added a commit
to jmartinez-silabs/connectedhomeip
that referenced
this pull request
Mar 22, 2021
… add ble advertissement timeouts - fix conflicts from Cherry picking due to api modified in master vs test_event_1 tag
andy31415
pushed a commit
that referenced
this pull request
Mar 22, 2021
* Fix for test event 1 - Change default SetupPincode value for lock adn light example, can be changed with build arguments - Set random BLE advertissement addresse at advertissement start. - Add Advertissement times outs -> fast advertisement 25ms from 0 to 30s, slow adv 500ms 30s to 15m, stop adv after that * Restyled by whitespace * Restyled by clang-format * Restyled by gn * Fix build, missed function delete by rebase. Co-authored-by: Restyled.io <commits@restyled.io> Conflicts: src/platform/EFR32/BLEManagerImpl.cpp
mspang
added a commit
to mspang/connectedhomeip
that referenced
this pull request
Mar 25, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict.
mspang
added a commit
to mspang/connectedhomeip
that referenced
this pull request
Mar 25, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict.
mspang
added a commit
to mspang/connectedhomeip
that referenced
this pull request
Mar 25, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict.
jimlyall-q
pushed a commit
to jimlyall-q/connectedhomeip
that referenced
this pull request
Mar 26, 2021
…-chip#5503) * Fix for test event 1 - Change default SetupPincode value for lock adn light example, can be changed with build arguments - Set random BLE advertissement addresse at advertissement start. - Add Advertissement times outs -> fast advertisement 25ms from 0 to 30s, slow adv 500ms 30s to 15m, stop adv after that * Restyled by whitespace * Restyled by clang-format * Restyled by gn * Fix build, missed function delete by rebase. Co-authored-by: Restyled.io <commits@restyled.io>
jmartinez-silabs
pushed a commit
to jmartinez-silabs/connectedhomeip
that referenced
this pull request
Mar 26, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict. Clean up and add comments for the uart api remap OT uart functions to use our uart api.
jmartinez-silabs
pushed a commit
to jmartinez-silabs/connectedhomeip
that referenced
this pull request
Mar 26, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict. Clean up and add comments for the uart api remap OT uart functions to use our uart api.
jmartinez-silabs
pushed a commit
to jmartinez-silabs/connectedhomeip
that referenced
this pull request
Mar 26, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict. Clean up and add comments for the uart api remap OT uart functions to use our uart api.
jmartinez-silabs
pushed a commit
to jmartinez-silabs/connectedhomeip
that referenced
this pull request
Mar 26, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict. Clean up and add comments for the uart api remap OT uart functions to use our uart api.
jmartinez-silabs
pushed a commit
to jmartinez-silabs/connectedhomeip
that referenced
this pull request
Mar 26, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict. Clean up and add comments for the uart api remap OT uart functions to use our uart api.
mspang
added a commit
to mspang/connectedhomeip
that referenced
this pull request
Mar 29, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict.
mspang
added a commit
that referenced
this pull request
Mar 29, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict.
jimlyall-q
pushed a commit
to jimlyall-q/connectedhomeip
that referenced
this pull request
Mar 29, 2021
…5628) - Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict.
jmartinez-silabs
pushed a commit
to jmartinez-silabs/connectedhomeip
that referenced
this pull request
Mar 29, 2021
- Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (project-chip#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (project-chip#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict. Clean up and add comments for the uart api remap OT uart functions to use our uart api.
mspang
added a commit
that referenced
this pull request
Mar 30, 2021
…read (#5648) * Rework uart functionality for pigweed to use silabs UARTDRV and DMA. Rework Uart.c to use a circular buffer and the uardrv dma for RX Remove from build the uart from openthread. Was causing issue with PW Add some weak empty implementations of now missing/unused Thread uart functions. Will remap those functions to use uart api implementation for efr32 in chip * Fix and clean up examples/lighting-app/efr32 RPC build - Remove all of the duplicate include_dirs that were needed due to missing dependencies & improper use of private deps. - Add back an retargetserial.c file which is needed for this build. It was removed in fc59bd2 ("[3rd-party] update openthread and ot-br-posix (#5062)") - Define the pigweed_lighting debug API in a common place. This means we need to move the enable_pw_rpc to that place, too. - Add missing bits to CHIPProjectConfig.h needed after c99bef7 ("[EFR32] BLE Advertissement fixes and change default pin code (#5503)") Tested via gn gen out/with_pw_rpc --args='import("//with_pw_rpc.gni")' ninja -C out/with_pw_rpc Note it is still broken due to OpenThread serial conflict. Clean up and add comments for the uart api remap OT uart functions to use our uart api. * Restyled by whitespace * Restyled by clang-format * Restyled by gn Co-authored-by: Michael Spang <spang@google.com> Co-authored-by: Restyled.io <commits@restyled.io>
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
Default setup Pin Code 12345678 is invalid
BLE always advertises the same address wich is the device identity address
BLE always advertises at the same interval until provisioned.
Summary of Changes