IODControl response block
| 423 | |
| 424 | |
| 425 | class IODControlRes(Block): |
| 426 | """IODControl response block""" |
| 427 | fields_desc = [ |
| 428 | BlockHeader, |
| 429 | StrFixedLenField("padding", "", length=2), |
| 430 | UUIDField("ARUUID", None), |
| 431 | ShortField("SessionKey", 0), |
| 432 | XShortField("AlarmSequenceNumber", 0), |
| 433 | # ControlCommand |
| 434 | BitField("ControlCommand_reserved", 0, 9), |
| 435 | BitField("ControlCommand_PrmBegin", 0, 1), |
| 436 | BitField("ControlCommand_ReadyForRT_CLASS_3", 0, 1), |
| 437 | BitField("ControlCommand_ReadyForCompanion", 0, 1), |
| 438 | BitField("ControlCommand_Done", 1, 1), |
| 439 | BitField("ControlCommand_Release", 0, 1), |
| 440 | BitField("ControlCommand_ApplicationReady", 0, 1), |
| 441 | BitField("ControlCommand_PrmEnd", 0, 1), |
| 442 | XShortField("ControlBlockProperties", 0) |
| 443 | ] |
| 444 | |
| 445 | # default block_type value |
| 446 | block_type = 0x8110 |
| 447 | # The block_type can be among 0x8110 to 0x8118 except 0x8115 |
| 448 | # The right type is however determine by the type of the request |
| 449 | # (same type as the request + 0x8000) |
| 450 | |
| 451 | |
| 452 | # IODWriteRe{q,s} |
no test coverage detected
searching dependent graphs…