1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
from bellows.ezsp.v4.commands import COMMANDS as COMMANDS_v4
import bellows.types as t
COMMANDS = {
**COMMANDS_v4,
"changeSourceRouteHandler": (
0xC4,
{},
{
"newChildId": t.EmberNodeId,
"newParentId": t.EmberNodeId,
"ourChild": t.Bool,
},
),
"setSecurityKey": (
0xCA,
{
"securityKey": t.KeyData,
"securityType": t.SecureEzspSecurityType,
},
{
"status": t.EzspStatus,
},
),
"setSecurityParameters": (
0xCB,
{
"securityLevel": t.SecureEzspSecurityLevel,
},
{
"status": t.EzspStatus,
"randomNumber": t.uint128_t,
},
),
"resetToFactoryDefaults": (
0xCC,
{},
{
"status": t.EzspStatus,
},
),
"getSecurityKeyStatus": (
0xCD,
{},
{
"status": t.EzspStatus,
"securityType": t.SecureEzspSecurityType,
},
),
"getTransientLinkKey": (
0xCE,
{
"eui": t.EUI64,
},
{
"status": t.EmberStatus,
"transientKeyData": t.EmberTransientKeyDataV5,
},
),
"setChannelMap": (
0xF7,
{
"page": t.uint8_t,
"channel": t.uint8_t,
},
{},
),
}
|