-
Notifications
You must be signed in to change notification settings - Fork 3k
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
BLE: Clarify ble event docs with crossreferences #14820
Conversation
@paul-szczepanek-arm, thank you for your changes. |
This pull request has automatically been marked as stale because it has had no recent activity. @pan-, @ARMmbed/mbed-os-maintainers, please complete review of the changes to move the PR forward. Thank you for your contributions. |
* Called when connection attempt ends. Check event.getStatus() to see if connection | ||
* was established. If this device is the peripheral and it as advertising this will | ||
* end advertising which will also create the onAdvertisingEnd event. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Called when connection attempt ends. Check event.getStatus() to see if connection | |
* was established. If this device is the peripheral and it as advertising this will | |
* end advertising which will also create the onAdvertisingEnd event. | |
* Called when connection attempt ends. Check event.getStatus() to see if connection | |
* was established. If this device is the peripheral and it was advertising this will | |
* end the advertising set which will also create the onAdvertisingEnd event. |
@@ -264,6 +271,8 @@ class SecurityManager | |||
* | |||
* @param[in] connectionHandle connection connectionHandle | |||
* @param[in] result result of the pairing indicating success or reason for failure | |||
* | |||
* @see acceptPairingRequest() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This related to requestPairing()
too
@@ -431,8 +435,8 @@ class Gap { | |||
* | |||
* @version 4.1+. | |||
* | |||
* @note This event is not generated if connection parameters update | |||
* is managed by the middleware. | |||
* @note This event will only be produced if manageConnectionParametersUpdateRequest(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
manageConnectionParametersUpdateRequest(true)
won't be cross referenced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you address this ? I think This event will only be produced if manageConnectionParametersUpdateRequest() was called with true.
would work. What do you think ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I misundestood, I though you meant the doc for manageConnectionParametersUpdateRequest isn't cross refed, so I added the @see over there.
* calling the appropriate function: acceptPairingRequest or cancelPairingRequest | ||
* Called when a pairing request is received. Application should respond by | ||
* calling the appropriate function: acceptPairingRequest() or cancelPairingRequest(). | ||
* This event will only trigger if setPairingRequestAuthorisation(true) was called. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setPairingRequestAuthorisation(true)
won't be cross referenced
Thanks, fixed. |
Pull request has been modified.
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
@paul-szczepanek-arm Once ready for CI, let us know to start one. |
I'm done if @pan- says so. |
This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-maintainers, please start CI to get the PR merged. |
CI restarted |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
This is purely documentation change. Help find ble events with crossreferences to functions.
Impact of changes
Migration actions required
Documentation
none
Pull request type
Test results
Reviewers