# Generated by the protocol buffer compiler.  DO NOT EDIT!
# sources: acp_write_ctrl.proto
# plugin: python-betterproto
from dataclasses import dataclass

import betterproto

from acp_idl_base import enumdef


@dataclass
class WriteCtrlRequest(betterproto.Message):
    state: enumdef.States = betterproto.enum_field(1)
    dev_state: enumdef.DeviceState = betterproto.enum_field(2)
    offset: int = betterproto.uint32_field(3)
    length: int = betterproto.uint32_field(4)
    data: bytes = betterproto.bytes_field(5)


@dataclass
class WriteCtrlResponse(betterproto.Message):
    result: enumdef.Errors = betterproto.enum_field(1)
