~connman-maintainers/ofono/trunk

« back to all changes in this revision

Viewing changes to plugins/udevng.c

  • Committer: Denis Kenzior
  • Author(s): Sergei Golubtsov
  • Date: 2021-01-08 05:21:32 UTC
  • Revision ID: git-v1:39f70c29d18a0c677f2269587fc2571c17021a62
quectel: adding support for the Quectel EC200 USB modem series

Support for the Quectel EC200 USB modem series has been added. The model
identification AT command has been added as the first step in the
communication with a Quectel USB modem.

Show diffs side-by-side

added added

removed removed

Lines of Context:
941
941
 
942
942
static gboolean setup_quectel(struct modem_info *modem)
943
943
{
944
 
        if (modem->serial)
 
944
        if (modem->type == MODEM_TYPE_SERIAL)
945
945
                return setup_quectel_serial(modem);
946
 
        else
 
946
        else if (modem->type == MODEM_TYPE_USB)
947
947
                return setup_quectel_usb(modem);
 
948
        else
 
949
                return FALSE;
948
950
}
949
951
 
950
952
static gboolean setup_quectelqmi(struct modem_info *modem)