UPnP Design by Example: A Software Developer's Guide to Universal Plug and Play

Chapter 12: Adding Device Discovery

In the previous chapter the Intel SDK presented itself as the best option for use in building the Super Toaster. In this chapter you begin using the Intel SDK to build your device. First you learn about UPnP device description documents and then map the requirements presented in Chapter 10 to create a device description for the Super Toaster. Finally, the chapter introduces the first set of APIs from the Intel SDK to support the registration and discovery of your device, and you begin writing code to implement your device.

Problem Description

When the UPnP Super Toaster is connected to the network, you d like the device to automatically announce its presence on the network and for other nodes on the network to receive this announcement without requiring any configuration or setup by the user. UPnP announcement and discovery are the mechanisms designed for this. When a UPnP device joins the network, it sends out an announcement in such a way that other listening nodes on the network can discover the device.

UPnP Device Description

When a UPnP device joins the network, it broadcasts an SSDP announcement. An SSDP announcement contains a URL that references a more detailed device description document. If another node on the network wants to learn more information about an advertised device, it retrieves the devices description document via the specified URL. The device description document contains a wealth of information about the device, including the device name, device type, version,...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Fieldbus Products
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.