This commit is contained in:
stoneliu 2021-10-15 10:38:54 +08:00
parent 3020ce6f4e
commit aacb3c9811
2 changed files with 2 additions and 1 deletions

1
apps/dgiot_esports Submodule

@ -0,0 +1 @@
Subproject commit 7651b71d8895f6aa021c7165f126fc0e62177434

View File

@ -190,7 +190,7 @@ set_params(Basedata, ProductId, DevAddr) ->
end.
%rtu modbus
parse_frame(<<>>, Acc, _State) -> {<<>>, Acc};
parse_frame(<<>>, Acc, _State) -> {<<>>, Acc};
parse_frame(<<MbAddr:8, BadCode:8, ErrorCode:8, Crc:2/binary>> = Buff, Acc,
#{<<"addr">> := DtuAddr} = State) ->