Skip to content

Commit

Permalink
fix: rm read meter
Browse files Browse the repository at this point in the history
  • Loading branch information
U-JOHNLIU\jonhl committed Feb 21, 2022
1 parent 37502f5 commit 11bb26d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/dgiot_meter/src/dgiot_meter.erl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ parse_frame(?DLT376, Buff, Opts) ->
to_frame(#{
<<"devaddr">> := Addr,
<<"di">> := Di,
<<"command">> := <<"r">>,
<<"protocol">> := ?DLT376,
<<"data">> := <<"null">>
} = Frame) ->
Expand All @@ -157,7 +156,6 @@ to_frame(#{
to_frame(#{
<<"devaddr">> := Addr,
<<"di">> := Di,
<<"command">> := <<"r">>,
<<"protocol">> := ?DLT645,
<<"data">> := <<"null">>
} = Frame) ->
Expand Down Expand Up @@ -293,8 +291,7 @@ to_frame(#{
to_frame(#{
<<"devaddr">> := Addr,
<<"di">> := Di,
<<"protocol">> := ?DLT645,
<<"command">> := <<"r">>
<<"protocol">> := ?DLT645
} = Frame) ->
dlt645_decoder:to_frame(Frame#{
<<"msgtype">> => ?DLT645,
Expand Down

0 comments on commit 11bb26d

Please sign in to comment.