fix
This commit is contained in:
parent
0da6bb543c
commit
634b57dc13
@ -68,7 +68,7 @@ get_alias_name(HostId0) when is_integer(HostId0) ->
|
|||||||
binary_to_atom(<<"iot_host_id:", HostId/binary>>).
|
binary_to_atom(<<"iot_host_id:", HostId/binary>>).
|
||||||
|
|
||||||
%% 处理消息
|
%% 处理消息
|
||||||
-spec handle(Pid :: pid(), Packet :: {atom(), binary()} | {atom(), {binary(), binary()}}) -> no_return().
|
-spec handle(Pid :: pid(), Packet :: {atom(), any()}) -> no_return().
|
||||||
handle(Pid, Packet) when is_pid(Pid) ->
|
handle(Pid, Packet) when is_pid(Pid) ->
|
||||||
gen_statem:cast(Pid, {handle, Packet}).
|
gen_statem:cast(Pid, {handle, Packet}).
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user