add debug

This commit is contained in:
anlicheng 2023-07-27 17:07:23 +08:00
parent 4f635bdf0c
commit a0e8131972

View File

@ -285,6 +285,7 @@ handle_event(cast, {handle, {ping, CipherMetric}}, session, State = #state{uuid
end;
handle_event(cast, {handle, {inform, Info0}}, session, State = #state{host_id = HostId, aes = AES}) ->
lager:debug("[iot_host] handler inform, aes: ~p", [AES]),
Info = iot_cipher_aes:decrypt(AES, Info0),
case catch jiffy:decode(Info, [return_maps]) of
#{<<"at">> := At, <<"services">> := ServiceInforms} ->