Skip to content

Issue #589. Design and implementation of wifi.getStatus() #685

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 7 commits into from
Nov 2, 2015
Merged

Issue #589. Design and implementation of wifi.getStatus() #685

merged 7 commits into from
Nov 2, 2015

Conversation

nkolban
Copy link
Contributor

@nkolban nkolban commented Oct 30, 2015

This PullRequest introduces the generic wifi function called getStatus().

params[1] = jsAccessPointArray;
jsiQueueEvents(NULL, g_jsScanCallback, params, 2);

jsvUnLock(jsAccessPointArray);
Copy link
Member

Choose a reason for hiding this comment

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

Minor thing here, you can always use jsvUnlock3 to unlock a bunch at once. It's not such an issue on ESP8266, but it actually saves a bunch of code space when it's done on other platforms.

@gfwilliams
Copy link
Member

This looks really good - thanks!

gfwilliams added a commit that referenced this pull request Nov 2, 2015
Issue #589.  Design and implementation of wifi.getStatus()
@gfwilliams gfwilliams merged commit d80de31 into espruino:master Nov 2, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants