fix
This commit is contained in:
parent
32fc75648b
commit
39dd454be0
@ -120,7 +120,7 @@ arp_request(Pid, TargetIp) when is_pid(Pid), is_integer(TargetIp) ->
|
||||
|
||||
-spec command(Pid :: pid(), ReceiverPid :: pid(), ClientId :: binary(), {Tag :: atom(), SubCommand :: any()}) ->
|
||||
{error, Reason :: binary()} | {ok, Ref :: reference()}.
|
||||
command(Pid, ReceiverPid, ClientId, SubCommand) when is_pid(Pid), is_pid(ReceiverPid), is_binary(DstMac) ->
|
||||
command(Pid, ReceiverPid, ClientId, SubCommand) when is_pid(Pid), is_pid(ReceiverPid), is_binary(ClientId) ->
|
||||
gen_server:call(Pid, {command, ReceiverPid, ClientId, SubCommand}).
|
||||
|
||||
-spec wait_command_ack(Ref :: reference(), Timeout :: integer()) -> {error, timeout} | {ok, CommandAck :: #'SDLCommandAck'{}}.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user