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

DHCP hostname support #1296

Merged
merged 1 commit into from
May 2, 2017
Merged

Conversation

avtolstoy
Copy link
Member

@avtolstoy avtolstoy commented Apr 11, 2017

Problem

Issue #1251.

Solution

This PR changes the default hostname to device id and also adds support for setting a custom DNS hostname.

Added Wiring methods:

  • WiFi.hostname()
  • WiFi.setHostname()

Steps to Test

wiring/no_fixture includes a set of tests for this feature.

Example App

N/A

References


Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

Bugfix

  • [PR #1296] [Fixes #1251] [Photon/P1] Default Wi-Fi DNS hostname changed to device ID, to avoid spaces in name which may cause issues.

Enhancement

  • [PR #1296] [Photon/P1] Added support for setting a custom DNS hostname, default is device ID.

@avtolstoy avtolstoy force-pushed the feature/photon/wiced-3.7.0-7 branch from ee6f58b to 3ef4ffc Compare April 11, 2017 11:34
@avtolstoy avtolstoy force-pushed the feature/dhcp-hostname branch 2 times, most recently from 49f5cba to e7fdc4a Compare May 2, 2017 17:32
@avtolstoy avtolstoy merged commit 930be76 into feature/photon/wiced-3.7.0-7 May 2, 2017
avtolstoy added a commit to avtolstoy/firmware that referenced this pull request May 10, 2017
@technobly technobly deleted the feature/dhcp-hostname branch June 14, 2017 14:24
@technobly technobly added this to the 0.7.0 milestone Jun 14, 2017
avtolstoy added a commit to particle-iot/docs that referenced this pull request Jun 27, 2017
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.

3 participants