diff --git a/pymammotion/proto/mctrl_sys.proto b/pymammotion/proto/mctrl_sys.proto index f1284bd..08dece7 100644 --- a/pymammotion/proto/mctrl_sys.proto +++ b/pymammotion/proto/mctrl_sys.proto @@ -196,7 +196,7 @@ message LoraCfgRsp { int32 result = 1; int32 op = 2; string cfg = 3; - string fac_cfg = 4; + bytes fac_cfg = 4; } message mod_fw_info { diff --git a/pymammotion/proto/mctrl_sys.py b/pymammotion/proto/mctrl_sys.py index feafc17..36a6c14 100644 --- a/pymammotion/proto/mctrl_sys.py +++ b/pymammotion/proto/mctrl_sys.py @@ -312,7 +312,7 @@ class LoraCfgRsp(betterproto.Message): result: int = betterproto.int32_field(1) op: int = betterproto.int32_field(2) cfg: str = betterproto.string_field(3) - fac_cfg: str = betterproto.string_field(4) + fac_cfg: bytes = betterproto.bytes_field(4) @dataclass diff --git a/pymammotion/proto/mctrl_sys_pb2.pyi b/pymammotion/proto/mctrl_sys_pb2.pyi index cd166bd..6d224e1 100644 --- a/pymammotion/proto/mctrl_sys_pb2.pyi +++ b/pymammotion/proto/mctrl_sys_pb2.pyi @@ -82,7 +82,7 @@ class LoraCfgRsp(_message.Message): OP_FIELD_NUMBER: _ClassVar[int] RESULT_FIELD_NUMBER: _ClassVar[int] cfg: str - fac_cfg: str + fac_cfg: bytes op: int result: int def __init__(self, result: _Optional[int] = ..., op: _Optional[int] = ..., cfg: _Optional[str] = ..., fac_cfg: _Optional[str] = ...) -> None: ... diff --git a/pyproject.toml b/pyproject.toml index c9084bd..86239a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [project] name = "pymammotion" -version = "0.2.13" +version = "0.2.15" [tool.poetry] name = "pymammotion" -version = "0.2.13" +version = "0.2.15" license = "GNU-3.0" description = "" readme = "README.md" @@ -53,7 +53,7 @@ mypy = "^1.10.0" pre-commit = "^3.7.1" [tool.bumpver] -current_version = "0.2.13" +current_version = "0.2.15" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "Bump version {old_version} -> {new_version}" commit = true