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

Cellular.localIP() API #850

Merged
merged 4 commits into from
Mar 17, 2016
Merged

Cellular.localIP() API #850

merged 4 commits into from
Mar 17, 2016

Conversation

technobly
Copy link
Member

Example Code

Serial.println("Get the local (private) IP address for the Electron");
Serial.println(Cellular.localIP());

@m-mcgowan m-mcgowan added this to the 0.4.10 milestone Feb 1, 2016
@m-mcgowan m-mcgowan force-pushed the feature/electron/localip branch from 1f5e67d to 0510a6a Compare March 10, 2016 07:33
@m-mcgowan m-mcgowan mentioned this pull request Mar 10, 2016
17 tasks
@m-mcgowan
Copy link
Contributor

I reworked the WLanConfig so we have distinct config objects per network type. Untested - will test before merging.

@m-mcgowan m-mcgowan force-pushed the feature/electron/localip branch from 0510a6a to 828a365 Compare March 14, 2016 08:37
@m-mcgowan m-mcgowan force-pushed the feature/electron/localip branch from 828a365 to 431538b Compare March 17, 2016 07:28
@m-mcgowan
Copy link
Contributor

The IP addresses I get from a few tries is 10.41.5.183 and 10.41.250.26 which seem correct. (I initially wondered if the 183 should have been the first octet, but with the 2nd address I see that we are in a private network 10.x.x.x.)

m-mcgowan added a commit that referenced this pull request Mar 17, 2016
@m-mcgowan m-mcgowan merged commit 7e89e50 into develop Mar 17, 2016
@m-mcgowan m-mcgowan deleted the feature/electron/localip branch September 27, 2016 16:52
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