aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-02-18 12:13:46 +0100
committerAleksander Morgado <aleksander@lanedo.com>2013-02-18 13:47:34 +0100
commit30639606d35dcc323cb13a29b6e0627aad87dd8d (patch)
treec4801df654a93406a4d6dcbe3be7440f97101892 /src/main.c
parent263be58465ba0e449d73b65fd69d5dc10423a78f (diff)
broadband-modem: new step during 'enabling_started' to initialize the modem
We previously had the modem initialization command merged with some other port setup commands in the 'modem_init' step of the 'Modem' interface. Instead of doing this, we now split the logic into two separate steps: A first 'enabling_modem_init' modem initialization step is to be run just after the ports have been opened, but only during the first enabling operation, and only if the modem was not hotplugged. A hotplugged modem is assumed to be properly initialized already, so no need to ATZ-it. Also, we will now wait 500ms by default after the modem initialization command has been sent, to let it settle down. The second 'modem_init' step will be run during the 'Modem' interface initialization, and it currently only holds specific setup of the primary and secondary serial ports. We'll be modifying this logic a bit in the next commits, so no big deal to have that step name unchanged.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions