What is the minimal set of serial commands needed to set up a Coordinator, form a network, open the permit join window, and control a device (for example a lighting device)?

Assuming the module is in default state (which you can put the module into by issuing a Restore to Factory Defaults command), you can set up a coordinator as follows:

To set up a Coordinator:
F1 55 20 42 00 B7 00 [RHAHostStartupReady]
F1 55 21 84 02 00 00 FC 00 [RHAStartupSyncRequest]
F1 03 00 43 02 00 00 48 00 [RHADeviceTypeWrite]
F1 03 30 44 00 77 00 [RHAClearEndpointConfig]
F1 03 10 45 24 01 04 01 07 00 01 04 00 00 03 00 0A 00 19 00 0A 00 00 03 00 04 00 05 00 06 00 08 00 01 01 01 02 04 0B 01 F0 DD 01 [RHAAddEndpoint]
F1 03 20 46 21 01 0A 00 01 07 02 00 2B 03 03 00 23 03 04 00 23 03 05 00 2B 03 06 00 23 01 07 00 23 01 07 F0 20 01 C0 02 [RHAAddAttributesToCluster]
F1 03 20 47 09 01 01 02 00 01 11 00 29 03 B5 00 [RHAAddAttributesToCluster]
F1 03 20 48 09 01 01 F0 00 01 11 00 29 03 A4 01 [RHAAddAttributesToCluster]
F1 03 25 49 0B 01 0A 00 01 00 00 E2 D6 04 D9 1D 3A 03 [RHAAttributeWrite]
F1 03 25 4A 08 01 0A 00 01 01 00 18 01 A0 00 [RHAAttributeWrite]
F1 03 25 4B 0B 01 0A 00 01 07 00 23 D6 04 D9 1D 84 02 [RHAAttributeWrite]
F1 55 22 4C 00 C3 00 [RHAStartupSyncComplete]
F1 01 09 85 10 00 FF FF FF FF FF FF 00 00 00 00 00 00 00 00 00 99 06 [RHANetworkStatusResponse]


To form a network on Channel 11:
F1 01 01 4E 0F 00 08 00 00 03 FF FF FF FF FF FF FF FF FF FF 60 0A [RHAFormNetwork]
F1 01 09 86 10 03 FF FF FF FF FF FF 00 00 00 00 00 00 00 00 00 9D 06 [RHANetworkStatusResponse] (forming network)
F1 01 09 87 10 01 00 0B 00 00 70 9C 88 2C D5 06 53 FF C6 CE 00 2E 06 [RHANetworkStatusResponse] (network up)


To permit joining:
F1 01 03 7B 01 F0 70 01 [RHAPermitJoin]
At this point, the permit join window is up, and you should connect your device. When the device joins, the Module that is configured as a Coordinator will send the following serial frame to the Host.
F1 04 1E EA 0B 5E 73 7D 37 0F 00 00 46 24 00 8E D9 03 [RHAZDODeviceAnnounceReceived] (Node ID of the device that is joining the network in red)


Controlling the device (e.g. a lighting device):
Identify:
F1 05 00 8F 10 5E 73 01 01 03 00 00 00 11 00 00 00 00 02 03 00 90 01 [RHASendZCLUnicast] (Node ID in red)


On:
F1 05 00 90 0E 5E 73 01 01 06 00 00 00 11 00 00 00 01 00 8E 01 [RHASendZCLUnicast] (Node ID in red)

Off:
F1 05 00 91 0E 5E 73 01 01 06 00 00 00 11 00 00 00 00 00 8E 01 [RHASendZCLUnicast] (Node ID in red)

Toggle:
F1 05 00 92 0E 5E 73 01 01 06 00 00 00 11 00 00 00 02 00 91 01 [RHASendZCLUnicast] (Node ID in red)
F1 05 00 93 0E 5E 73 01 01 06 00 00 00 11 00 00 00 02 00 92 01 [RHASendZCLUnicast] (Node ID in red)

Level Control:
F1 05 00 94 12 5E 73 01 01 08 00 00 00 11 00 00 00 00 04 00 FF FF 00 99 03 [RHASendZCLUnicast] (Node ID in red, level amount in green)
F1 05 00 95 12 5E 73 01 01 08 00 00 00 11 00 00 00 00 04 08 FF FF 00 A2 03 [RHASendZCLUnicast] (Node ID in red, level amount in green)
F1 05 00 96 12 5E 73 01 01 08 00 00 00 11 00 00 00 00 04 1F FF FF 00 BA 03 [RHASendZCLUnicast] (Node ID in red, level amount in green)
F1 05 00 97 12 5E 73 01 01 08 00 00 00 11 00 00 00 00 04 71 FF FF 00 0D 04 [RHASendZCLUnicast] (Node ID in red, level amount in green)
F1 05 00 98 12 5E 73 01 01 08 00 00 00 11 00 00 00 00 04 74 FF FF 00 11 04 [RHASendZCLUnicast] (Node ID in red, level amount in green)

Legal Notices

Copyright © 2020 MMB Networks, Inc. All rights reserved.
Confidential materials prepared and delivered by MMB Networks for receipt and review only by any partner subject to a valid and enforceable MMB Networks confidentiality agreement. Any receipt, review, or misuse of any of the content exchanged hereunder by any party not a party to this confidential exchange shall be subject to any and all rights available under the law. All rights, title and interest to the materials shall remain with MMB Networks.
Any suggestions provided to MMB Networks with respect to MMB Networks' products or services shall be collectively deemed “Feedback.” You, on behalf of yourself, or if you are providing Feedback on behalf of your employer or another entity, represent and warrant that you have full legal authority to bind such entity to these terms, agree to grant and hereby grant to MMB Networks a nonexclusive, perpetual, irrevocable, royalty free, worldwide license to use and otherwise exploit such Feedback within any MMB Networks products and services.