add debug
This commit is contained in:
parent
4f635bdf0c
commit
a0e8131972
@ -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} ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user