aboutsummaryrefslogtreecommitdiff
path: root/src/mm-context.c
diff options
context:
space:
mode:
authorCarlo Lobrano <c.lobrano@gmail.com>2017-05-29 09:48:20 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-05-29 12:25:35 +0200
commit51bb354624865414e8a036e3502c1b713999ec1f (patch)
tree9a4bc59a03b4991cf044a49391a41249c9fdd3cd /src/mm-context.c
parentd986277f13db31cd91de2f6a8bf3b812d9f3fc04 (diff)
dell: speed probing time up and reduce udev dependency
Currently Dell plugin implements a retry logic of three commands (AT+GMI, AT+CGMI, ATI1I2I3) to detect modem's vendor string. Moreover, since Telit modems always reply to the first command, to speed the probing time up, those modem are tagged with an Udev rule so that we can avoid sending the other two commands at all. However, the retry logic is in case a port needs some time to reply, so it makes sense to apply it only to the first command. Then if the port still does not respond with any kind of reply, that probably means that it is not AT capable and we can skip the other AT commands as well. Then, this patch: - sets a maximum number of timeouts for AT+GMI to 3. After this timeouts, the port is considered not AT-capable. - sets AT+CGMI and ATI1I2I3 to be sent only once. - removes Dell udev rule for tagging Telit Modems.
Diffstat (limited to 'src/mm-context.c')
0 files changed, 0 insertions, 0 deletions