aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-common.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-02-20 12:15:19 +0100
committerAleksander Morgado <aleksander@lanedo.com>2013-02-20 15:54:54 +0100
commit000bb642255ecfefe10f7b6629493c34877399c7 (patch)
tree1092294d763744a3512fc51e05871a047a37043f /cli/mmcli-common.c
parent9a6fce0a086f28aafda7d963e8661e98a4d44ef6 (diff)
serial-port: allow specifying some wait time between closing and reopening
We will now by default wait some time (1s) between port getting fully closed and the port being reopened again. This logic seems to work for multiple modems where there is a single port for both AT and data, like my Nokia C7 and Iridium modems. If this wait time is not applied, the port ends up returning EAGAIN for every write that we try to do afterwards.
Diffstat (limited to 'cli/mmcli-common.c')
0 files changed, 0 insertions, 0 deletions