(0x03) ZigBee Support Configuration Frames
This section describes the commands used to configure RapidConnect IEEE functional device type, as well as the endpoints, clusters and attributes that will logically exist on that device.
( PH:0x03, SH:0x00 ) - Device Type Write Command
Overview
The Device Type Write command is sent by the Host to the Module in order to configure the application’s IEEE functional device type. The Host is only required to issue this command once after synchronizing with a factory default Module for the first time, as the configuration is preserved in the application’s non-volatile memory.
The Module may be configured to behave as either a Full-Function Device (FFD) or Reduced-Function Device (RFD). An FFD has facilities for routing network messages as either a coordinator or a router, while an RFD may only join a network as a non-routing end node
If the Host configures the Module as an RFD, it may additionally configure the application to serve as either a non-sleepy or sleepy end device, with the latter configuration serving to conserve power should the given device be battery powered or otherwise consumption-sensitive.
Payload
Byte Index | Field Name | Notes |
|---|---|---|
0 | Device Function Type | Default value 0x00 (FFD) 0x00 = FFD (router or coordinator) |
1 | Sleepy | 0x00 = Non-Sleepy (this is the default value) 0x01 = Sleepy (only valid with RFDs) |
Effect on Receipt
If the command is valid, the Module will update the setting and save it to non-volatile memory while also relaying a Device Type Response to the Host to confirm the setting. The following table lists the possible Status Responses on reception of the command.
Status Responses to Device Type Write Command
| Status Response | Enum | Description |
|---|---|---|
| Success | 0x00 | IEEE functional device type has been updated and backed up to non-volatile memory. |
Invalid Call | 0x01 | The Module is already on a network and cannot modify its device type. |
| Invalid Data | 0x02 | Field values are outside of valid range or are otherwise inapplicable in their current combination. |
Allowed Contexts
Startup Config.
Sent By Host/Module
Host.
( PH:0x03, SH:0x01 ) - Device Type Request Command
Overview
The Device Type Request is sent by the Host to the Module in order to query the application IEEE functional device type.
Payload
The command has no payload.
Effect on Receipt
The Module will respond with a Device Type Response.
Allowed Contexts
All Contexts.
Sent By Host/Module
Host.
( PH:0x03, SH:0x02 ) - Device Type Response Command
Overview
The Device Type Response is sent by the Module to the Host in response to a Device Type Request.
Payload
| Byte Index | Field Name | Notes |
|---|---|---|
| 0 | Device Function Type | 0x00 = FFD (router or coordinator) |
| 1 | Sleepy | 0x00 = Non-Sleepy |
Effect on Receipt
The Module will respond with a Device Type Response.
Allowed Contexts
Same context as request.
Sent By Host/Module
Module.