detect hardware device

Add in enough stub functionality for the example server to detect a real
device.