Skip to content
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

Correct thread status callback functionality #9971

Merged
merged 1 commit into from
Mar 28, 2019

Conversation

KariHaapalehto
Copy link
Contributor

Description

Status callback correct.

Tested locally with k64f using thread mesh network.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Release Notes

@ciarmcom ciarmcom requested review from a team March 7, 2019 10:00
@ciarmcom
Copy link
Member

ciarmcom commented Mar 7, 2019

@KariHaapalehto, thank you for your changes.
@ARMmbed/mbed-os-ipcore @ARMmbed/mbed-os-maintainers please review.

0xc0170
0xc0170 previously requested changes Mar 7, 2019
Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

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

How is this fixing it ? I can see removing connection status and status changed ? Can you expand your commit msg

@KariHaapalehto
Copy link
Contributor Author

At the start-up, there was 2 NSAPI_STATUS_CONNECTING callbacks, so extra one removed from ThreadInterface.cpp.
At the network lost case, there was NSAPI_STATUS_DISCONNECTED and NSAPI_STATUS_LOCAL_UP callbacks. NSAPI_STATUS_DISCONNECTED has been removed, since the NSAPI_STATUS_LOCAL_UP is enought.

At the start-up, there was 2 NSAPI_STATUS_CONNECTING callbacks,
so extra one removed from ThreadInterface.cpp.
At the network lost case, there was NSAPI_STATUS_DISCONNECTED and
NSAPI_STATUS_LOCAL_UP callbacks. NSAPI_STATUS_DISCONNECTED has been removed,
since the NSAPI_STATUS_LOCAL_UP is enought.
@adbridge
Copy link
Contributor

@KariHaapalehto what is the status of this PR ?

@cmonr cmonr dismissed 0xc0170’s stale review March 27, 2019 18:53

Commit msg expanded

@cmonr
Copy link
Contributor

cmonr commented Mar 27, 2019

@adbridge This one was waiting on us. Commit message was updated a while ago.

@cmonr
Copy link
Contributor

cmonr commented Mar 27, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Mar 27, 2019

Test run: FAILED

Summary: 1 of 13 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_exporter

@NirSonnenschein
Copy link
Contributor

restarted exporter

cmonr pushed a commit to cmonr/mbed-os that referenced this pull request Mar 28, 2019
Correct thread status callback functionality
@cmonr cmonr merged commit 48c78ae into ARMmbed:master Mar 28, 2019
@KariHaapalehto KariHaapalehto deleted the status_callback branch March 29, 2019 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants