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

iotjs: Fix (re)connected status in callback #2319

Merged

Conversation

rzr
Copy link
Contributor

@rzr rzr commented Oct 8, 2018

This will improve connectivity reliability.

Change-Id: Ie4a5bcb397fb7959f2c5954d7a7569052ccc39fb
Signed-off-by: Philippe Coval p.coval@samsung.com

@seinfra
Copy link

seinfra commented Oct 8, 2018

Target : [1a40a24c77a5b88fa4198ac14c51761ee8e9d034] - Code Rule Check (C++) OK.

@seinfra
Copy link

seinfra commented Oct 8, 2018

Target : [1a40a24c77a5b88fa4198ac14c51761ee8e9d034] - Code Rule Check OK.

Copy link
Contributor

@SeonghoByeon SeonghoByeon left a comment

Choose a reason for hiding this comment

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

Basically, in order to enable wifi_manager's reconnect operation, you should set CONFIG_WIFIMGR_INETRNAL_AUTOCONNECT in menuconfig. Moreover, to set it, you first need to set CONFIG_DISABLE_EXTERNAL_AUTOCONNECT, preventing duplicate execution from driver's auto(re)connect.
We do not recommand an application to set a forced reconnect, and acutally, it does not really work.
In case the application requires to get connect/disconnect information, please utilize user callbacks defined in wifi_manager. Thanks.

Note: TizenRT wifi manager "attempt" callback name missleaded me,
maybe it could be renamed.

Change-Id: Ie4a5bcb397fb7959f2c5954d7a7569052ccc39fb
Forwarded: Samsung#2319
Signed-off-by: Philippe Coval <p.coval@samsung.com>
@rzr rzr force-pushed the sandbox/rzr/devel/iotjs/review/master branch from 1a40a24 to d0d0538 Compare October 11, 2018 08:35
@seinfra
Copy link

seinfra commented Oct 11, 2018

Target : [d0d0538] - Code Rule Check OK.

@seinfra
Copy link

seinfra commented Oct 11, 2018

Target : [d0d0538] - Code Rule Check (C++) OK.

@rzr rzr changed the title iotjs: Use wifi manager reconnect mecanism iotjs: Fix (re)connected status in callback Oct 12, 2018
rzr added a commit to TizenTeam/TizenRT that referenced this pull request Oct 13, 2018
Note: TizenRT wifi manager "attempt" callback name missleaded me,
maybe it could be renamed.

Change-Id: Ie4a5bcb397fb7959f2c5954d7a7569052ccc39fb
Forwarded: Samsung#2319
Signed-off-by: Philippe Coval <p.coval@samsung.com>
@rzr
Copy link
Contributor Author

rzr commented Oct 18, 2018

This change have been updated to fix a bug in master, please review and merge

rzr added a commit to rzr/TizenRT that referenced this pull request Oct 19, 2018
Note: TizenRT wifi manager "attempt" callback name missleaded me,
maybe it could be renamed.

Change-Id: Ie4a5bcb397fb7959f2c5954d7a7569052ccc39fb
Forwarded: Samsung#2319
Signed-off-by: Philippe Coval <p.coval@samsung.com>
@rzr
Copy link
Contributor Author

rzr commented Oct 24, 2018

This change is desired, should I open a new PR to prevent the ambiguity of the original change ?

@SeonghoByeon
Copy link
Contributor

Hi @rzr,
Sorry for late response. I will check the modification and let me approve and merge if needed.
Thanks.

Copy link
Contributor

@SeonghoByeon SeonghoByeon left a comment

Choose a reason for hiding this comment

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

It seems good to me.

@SeonghoByeon SeonghoByeon merged commit 93934fc into Samsung:master Oct 24, 2018
@rzr
Copy link
Contributor Author

rzr commented Oct 24, 2018

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants