| 279 | |
| 280 | |
| 281 | class ModbusPDU0FWriteMultipleCoilsRequest(Packet): |
| 282 | name = "Write Multiple Coils" |
| 283 | fields_desc = [XByteField("funcCode", 0x0F), |
| 284 | XShortField("startAddr", 0x0000), |
| 285 | XShortField("quantityOutput", 0x0001), |
| 286 | BitFieldLenField("byteCount", None, 8, |
| 287 | count_of="outputsValue"), |
| 288 | FieldListField("outputsValue", [0x00], XByteField("", 0x00), |
| 289 | count_from=lambda pkt: pkt.byteCount)] |
| 290 | |
| 291 | |
| 292 | class ModbusPDU0FWriteMultipleCoilsResponse(Packet): |
nothing calls this directly
no test coverage detected