Device and Service Discovery
Device and Service Discovery are distributed operations where devices
respond to discovery requests. Device Discovery provides the ability for a
device to determine the other devices on the network. Device Discovery is
supported for both the 64-bit IEEE address and the 16-bit Network address.
Service Discovery provides the ability to determine services offered by other
devices.
The existing commands for device and service discovery
are listed below (some with the example code fragments):
- 16-bit Network
address unicast or broadcast addressed command permits a local device to inquire as to the 16-bit address of the Remote Device based on its known IEEE address. Upon receipt of this command, remote devices shall return the NWK address.
- 64-bit IEEE address unicast addressed command permits a local device to inquire as to the 64-bit IEEE address of the Remote Device based on their known 16-bit address. Upon receipt of this command, remote device shall return the 64-bit IEEE address.
- Node Descriptor unicast addressed command permits a local device to inquire as to the node descriptor of a remote device. Upon receipt of this command, remote device shall return the Node Descriptor.
The node descriptor contains information about the capabilities of the node.
- Power Descriptor unicast addressed command permits a local device to inquire as to the power descriptor of a remote device. Upon receipt of this command, remote device shall return the Power Descriptor. The power descriptor gives a dynamic indication of the power status of the node.
- Simple_Desc_req unicast addressed command permits a local device to inquire as to the simple descriptor of a remote device on a specified endpoint. Upon receipt of this command, remote device shall return the Simple Descriptor. The simple descriptor contains information specific to each endpoint contained in this node.
- Active Endpoint unicast addressed command permits a local device to acquire the list of endpoints on a remote device with simple descriptors. Upon receipt of this command, the recipient device shall generate a responce. An active endpoint is one with an application supporting a single profile, described by a Simple Descriptor.
- Complex Descriptor unicast addressed command permits an enquiring device to return the Complex Descriptor from the specified device. The complex descriptor contains extended information for each of the device descriptions contained in this node.
- User Descriptor unicast addressed command permits a local device to inquire as to the user descriptor of a remote device. Upon receipt of this command, the recipient device shall return the User Descriptor.
The user descriptor contains information that allows the user to identify the device using a user-friendly character string, such as "Bedroom TV" or "Stairs light".The use of the user descriptor is optional. This descriptor contains a single field, which uses the ASCII character set, and shall contain a maximum of 16 characters.
- Device_annce broadcast addressed command is provided to notify other devices that the device has joined or re-joined the network. This command shall be invoked for all end devices upon join or rejoin. This command may also be invoked by routers upon join or rejoin as part of NWK address conflict resolution. Upon receipt of this command, the Remote Device shall update the nwkAddressMap attribute of the NIB with the updated NWKAddr corresponding to the IEEEAddr received.
- Configure User Descriptor unicast addressed command permits an enquiring device to configure the user descriptor of the specified device.Upon receipt of this command, the recipient device shall process the command and generate confirmation responce.
- System Server Discovery broadcast addressed command permits an enquiring device to discover the location of a particular system server or servers as indicated by the ServerMask parameter. Upon receipt of this command, remote devices shall compare the ServerMask parameter to the Server Mask field in their own Node descriptor. If no bits are found to match, no action is taken. If any matching bits are found, the remote device shall send a System Server Discovery Responce back to the originator using unicast transmission (with acknowledgement request) and indicating the matching bits.
Generated on Tue Jun 3 12:45:19 2008 for BitCloud Stack Documentation by
1.5.1-p1