# ASD Tutorial Lesson 2: Ping

This lesson illustrates the steps in bringing up a complete IPv6 LoWPAN wireless network capability.

It extends the event-driven model associated it boot and timer events with a sequence of system and networking events.

The only required step is iwconfig_init(), which starts the process of bringing up the LoWPAN wireless interface. It enables the interface, at which point the link local IPv6 address is assigned from the EUID64 of the IEEE 802.15.4 link.

To illustrate the remainder of the process, the iwconfig_handler() requests notification when a global IPv6 address is assigned. This address is assigned by DHCPv6, which also provides an IPv4 address for the node. These addresses are shown in the ArchRock LowPAN Router management interface.

Once the IP address is displayed on the LCD, one can ping the node.

ping.c - sets up the wireless interface and displays the IP address to the LCD once the node joins the network.