diff options
Diffstat (limited to 'include/modem.h')
-rw-r--r-- | include/modem.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/modem.h b/include/modem.h index 3fea2deb..0ea1ec62 100644 --- a/include/modem.h +++ b/include/modem.h @@ -30,6 +30,12 @@ extern "C" { struct ofono_modem; +enum ofono_modem_type { + OFONO_MODEM_TYPE_HARDWARE = 0, + OFONO_MODEM_TYPE_HFP, + OFONO_MODEM_TYPE_SAP, +}; + void ofono_modem_add_interface(struct ofono_modem *modem, const char *interface); void ofono_modem_remove_interface(struct ofono_modem *modem, @@ -75,6 +81,7 @@ typedef void (*ofono_modem_online_cb_t)(const struct ofono_error *error, struct ofono_modem_driver { const char *name; + enum ofono_modem_type modem_type; /* Detect existence of device and initialize any device-specific data * structures */ |