vintage_net_mobile v0.1.0 VintageNetMobile.ATRunner View Source
Send AT command_list to modem
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Send an AT command to the modem
Link to this section Types
The options for the ATCommand server are:
:speed
- the speed of the serial connection:tty
- the tty to send AT command to
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
send(tty, command, wait_for, timeout \\ 500)
View Sourcesend(binary(), binary(), binary(), non_neg_integer()) :: {:ok, [binary()]}
Send an AT command to the modem
This takes the tty name, the AT command to send, the AT command wait for, and a timeout.
The default timeout is 500 milliseconds