syntax = "proto3";

import "types.proto";
package HwproxyMsg;

message BlockReadReq {
    uint32 Offset = 1;
    uint32 Length = 2;
}

message BlockReadRsp {
    repeated uint8 OutData = 1;
}

message BlockWriteReq {
    uint32 Offset = 1;
    repeated uint8 InData = 2;
}

message GetChipIdcodeRsp {
    repeated uint32 DeviceId = 1;
}

message SetTargetNumberReq {
    uint32 Number = 1;
}

message SetBypassModeReq {
    bool Enable = 1;
}