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

samples: cellular: mss: Wait for connection before printing connected. #12901

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

glarsennordic
Copy link
Contributor

MSS does not wait for connection success before printing "Connected to nRF Cloud".

This commit fixes this by making the connect_cloud function correctly block until connection either succeeds or fails.

IRIS-7090

@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Oct 28, 2023
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Oct 28, 2023

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-fw-nrfconnect-nrf-iot_cloud X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@glarsennordic
Copy link
Contributor Author

I still need to test CoAP, but I don't think the results will be different, so this should be ready for review

Copy link
Contributor

@plskeggs plskeggs left a comment

Choose a reason for hiding this comment

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

Needs a change log, otherwise fine.

@glarsennordic
Copy link
Contributor Author

Ah, right, changelog. I've spent too long on Zephyr PRs

@github-actions github-actions bot added doc-required PR must not be merged without tech writer approval. and removed changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Oct 28, 2023
@glarsennordic
Copy link
Contributor Author

DNM until I test CoAP

@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

MSS does not wait for connection success before printing "Connected to
nRF Cloud".

This commit fixes this by making the connect_cloud function correctly
block until connection either succeeds or fails.

IRIS-7090

Signed-off-by: Georges Oates_Larsen <[email protected]>
@glarsennordic
Copy link
Contributor Author

Tests succeed with CoAP

@nordicjm nordicjm merged commit d60aef4 into nrfconnect:main Nov 3, 2023
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-required PR must not be merged without tech writer approval.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants