WaitAndAcceptCall: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This command allows to wait for an incoming call on the specified GSM port, and to accept it. An optional timeout (in seconds) can be specified. '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |WaitAndAcceptCall |PortIndex,[Timeout(s)] |Error Code in case of error. |} '''OUTPUT''' GSM port call status in the following format: "%s\n", call_status '''EXAMPLE'''<syntaxhighlight lang="text"> ~# WaitAndAcceptCall 1 CON...") |
m (added Category:R2D2 using HotCat) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 33: | Line 33: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Voice]] | |||
[[Category:R2D2]] |
Latest revision as of 11:30, 27 March 2025
This command allows to wait for an incoming call on the specified GSM port, and to accept it.
An optional timeout (in seconds) can be specified.
COMMAND
Command | Line Arguments | Returns |
---|---|---|
WaitAndAcceptCall | PortIndex,[Timeout(s)] | Error Code in case of error. |
OUTPUT
GSM port call status in the following format:
"%s\n", call_status
EXAMPLE
~# WaitAndAcceptCall 1
CONNECTED 0612345678
~# WaitAndAcceptCall 0 120
TIMEOUT EXPIRED