Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

[woble] Add single BLE connection option. #398

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

turon
Copy link
Contributor

@turon turon commented Oct 24, 2019

Provides an option to disable WoBLE advertisements while a WoBLE connection is active.

@codecov-io
Copy link

codecov-io commented Oct 24, 2019

Codecov Report

Merging #398 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #398      +/-   ##
==========================================
- Coverage   54.51%   54.46%   -0.06%     
==========================================
  Files         341      340       -1     
  Lines       58548    58425     -123     
==========================================
- Hits        31919    31821      -98     
+ Misses      26629    26604      -25
Impacted Files Coverage Δ
src/lib/support/ASN1Writer.cpp 86.52% <0%> (-0.87%) ⬇️
src/lib/profiles/security/WeaveCert.cpp 88.5% <0%> (-0.46%) ⬇️
src/lib/profiles/security/WeaveToX509.cpp 87.91% <0%> (-0.26%) ⬇️
src/lib/profiles/security/WeaveCASEEngine.cpp 93.09% <0%> (-0.24%) ⬇️
src/test-apps/TestCASE.cpp 95.89% <0%> (-0.23%) ⬇️
src/tools/weave/GeneralUtils.cpp

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9132f4c...465c4f2. Read the comment docs.

@@ -375,7 +375,11 @@ void BLEManagerImpl::DriveBLEState(void)
WEAVE_ERROR err = WEAVE_NO_ERROR;

// If the application has enabled WoBLE and BLE advertising...
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the comment to describe the new behavior.

Copy link
Contributor Author

@turon turon Oct 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, added to the comment by adding another one inside the condition after the ...
Wasn't sure of the best way to interleave conditional code and extending the comment.
Let me know if you have a better suggestion.

@robszewczyk robszewczyk merged commit f627aa9 into openweave:master Oct 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants