Iot: Sample: Display IP address on device startup

Created on 14 Oct 2018  路  12Comments  路  Source: dotnet/iot

Many people want a way of determining a device IP address for an otherwise headless device. This info would need to be shown at device startup. By definition, there isn't a way to find out the IP address to start the program manually in this scenario.

We should build a sample that does this.

This would be the perfect LCD panel to use: https://www.adafruit.com/product/3527

area-device-bindings area-samples enhancement

All 12 comments

@joshfree I would be interested in this. Mainly to build up knowledge developing bindings. I actually have hardware on order. However, I am working on a simpler binding I want to finish up first. Trying to get up-to-speed on related tooling (fritzing, etc.) and core APIs first.

Awesome! Thanks for grabbing this one @shaggygi 馃槃

@joshfree I have not forgot about this, but wanted to focus on testing the waters with MCP23XXX binding first.

Progress slowly but surely 馃槃 https://github.com/shaggygi/iot/tree/Ssd1306-device-binding

Commands completed and tests added. Works with 128x32/64 devices using I2C. About to order some related SPI devices, as well.

Was able to read the IP from Rpi3 using new DeviceApiTester script command.

Also did some dog-fooding with new IoT Device Binding template with no problems.

Need to determine a good solution to write text and such next.

Referencing #178 as it was derived while working on this issue.

Referencing #188

I'm not sure I understand this issue. Currently Raspbian prints the IP on the console when booting and that can be read using serial ports using UART pins which are enabled by default.

Other thing is that you can modify the raspbian image before sending it to your SD card and add a script which broadcast the IP and ID to some server (that's what I currently do at home and can share that if anyone is interested)

@krwq i think i agree with you and this was more of a "wish list" item to show working while using the core API and a device. I now have the Ssd1306 binding with an example of displaying the RPi IP address.

If you add the steps how to execute an app on startup (#13), then I would be content on closing this one. I wonder if a basic markdown would be worth adding for both Linux & Windows 10 IoT and linking under the Documentation section?

I can do brief explanation for linux, haven't played with Win IoT Core yet too much

@shaggygi instructions added - do we want to keep the issue?

I think the pieces delivered are what @richlander asked for. I'd say go ahead and close. Thx

@richlander please reopen if you think this is not addressed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

krwq picture krwq  路  4Comments

pankaj-nikam picture pankaj-nikam  路  6Comments

MaxMommersteeg picture MaxMommersteeg  路  4Comments

alexk8 picture alexk8  路  3Comments

Ellerbach picture Ellerbach  路  6Comments