@@ -12,7 +12,9 @@ class MAC(t.CommandsBase, subsystem=t.Subsystem.MAC):
1212 0x01 ,
1313 req_schema = (
1414 t .Param (
15- "SetDefault" , t .Bool , "TRUE - Set the MAC pib values to default values" ,
15+ "SetDefault" ,
16+ t .Bool ,
17+ "TRUE - Set the MAC pib values to default values" ,
1618 ),
1719 ),
1820 rsp_schema = t .STATUS_SCHEMA ,
@@ -70,15 +72,19 @@ class MAC(t.CommandsBase, subsystem=t.Subsystem.MAC):
7072 t .Param ("RealignKeySource" , t .KeySource , "Key Source of this data frame" ),
7173 # ToDo: Enum for for RealignSecurityLevel
7274 t .Param (
73- "RealignSecurityLevel" , t .uint8_t , "Security level of this data frame" ,
75+ "RealignSecurityLevel" ,
76+ t .uint8_t ,
77+ "Security level of this data frame" ,
7478 ),
7579 # ToDo: Make this an enum
7680 t .Param ("RealignKeyIdMode" , t .uint8_t , "Key Id Mode of this frame" ),
7781 t .Param ("RealignKeyIndex" , t .uint8_t , "Key index of this frame" ),
7882 t .Param ("BeaconKeySource" , t .KeySource , "Key source of this data frame" ),
7983 # ToDo: Make this an enum
8084 t .Param (
81- "BeaconSecurityLevel" , t .uint8_t , "Security Level of this data frame" ,
85+ "BeaconSecurityLevel" ,
86+ t .uint8_t ,
87+ "Security Level of this data frame" ,
8288 ),
8389 t .Param ("BeaconKeyIdMode" , t .uint8_t , "Key Id Mode of this data frame" ),
8490 t .Param ("BeaconKeyIndex" , t .uint8_t , "Key index of this data frame" ),
@@ -270,7 +276,9 @@ class MAC(t.CommandsBase, subsystem=t.Subsystem.MAC):
270276 ),
271277 t .Param ("NWK" , t .NWK , "Short address of the associated device" ),
272278 t .Param (
273- "AssociatedMember" , t .Bool , "True is the orphan is a associated member" ,
279+ "AssociatedMember" ,
280+ t .Bool ,
281+ "True is the orphan is a associated member" ,
274282 ),
275283 ),
276284 rsp_schema = t .STATUS_SCHEMA ,
@@ -323,7 +331,9 @@ class MAC(t.CommandsBase, subsystem=t.Subsystem.MAC):
323331 rsp_schema = (
324332 t .Param ("Status" , t .Status , "Status is either Success (0) or Failure (1)" ),
325333 t .Param (
326- "PanId" , t .PanId , "The PAN Id to use. This parameter is ignored if Pan" ,
334+ "PanId" ,
335+ t .PanId ,
336+ "The PAN Id to use. This parameter is ignored if Pan" ,
327337 ),
328338 t .Param ("LogicalChannel" , t .uint8_t , "The logical channel to use" ),
329339 t .Param ("ChannelPage" , t .uint8_t , "The channel page to use" ),
@@ -381,7 +391,9 @@ class MAC(t.CommandsBase, subsystem=t.Subsystem.MAC):
381391 "Extended address of coordinator" ,
382392 ),
383393 t .Param (
384- "PanId" , t .PanId , "The PAN Id to use. This parameter is ignored if Pan" ,
394+ "PanId" ,
395+ t .PanId ,
396+ "The PAN Id to use. This parameter is ignored if Pan" ,
385397 ),
386398 t .Param ("Superframe" , t .uint16_t , "Superframe specification" ),
387399 t .Param ("LogicalChannel" , t .uint8_t , "The logical channel to use" ),
@@ -396,7 +408,9 @@ class MAC(t.CommandsBase, subsystem=t.Subsystem.MAC):
396408 t .Param ("KeyIndex" , t .uint8_t , "Key index of this frame" ),
397409 t .Param ("PendingAddrSpec" , t .uint8_t , "Pending address spec" ),
398410 t .Param (
399- "AddressList" , t .uint8_t , "List of address associate with the device" ,
411+ "AddressList" ,
412+ t .uint8_t ,
413+ "List of address associate with the device" ,
400414 ),
401415 t .Param ("NSDU" , t .ShortBytes , "Beacon payload" ),
402416 ),
0 commit comments