diff --git a/apps/iot/src/iot_host.erl b/apps/iot/src/iot_host.erl index 53ab857..560ba57 100644 --- a/apps/iot/src/iot_host.erl +++ b/apps/iot/src/iot_host.erl @@ -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} ->