From 0136483c8911a0c768a71e29fcd10f8eefe4a042 Mon Sep 17 00:00:00 2001 From: anlicheng Date: Fri, 1 Sep 2023 17:54:23 +0800 Subject: [PATCH] fix --- apps/iot/src/iot_host.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/iot/src/iot_host.erl b/apps/iot/src/iot_host.erl index b4161c3..270e404 100644 --- a/apps/iot/src/iot_host.erl +++ b/apps/iot/src/iot_host.erl @@ -277,7 +277,7 @@ handle_event({call, From}, {create_session, PubKey}, _, State = #state{uuid = UU Reply = #{<<"a">> => false, <<"aes">> => <<"">>}, EncReply = iot_cipher_rsa:encode(Reply, PubKey), - {next_state, ?STATE_DENIED, [{reply, From, {ok, <<10:8, EncReply/binary>>}}]} + {next_state, ?STATE_DENIED, State, [{reply, From, {ok, <<10:8, EncReply/binary>>}}]} end; %% 重新加载设备信息