diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-30 20:25:22 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-20 16:26:55 +0200 |
commit | 84d205c9be4fa5e6d773ac60edc7200885da7af6 (patch) | |
tree | 0dd2656d6448523949f4ec716d17fbcc6cd02e10 /docs/reference | |
parent | 4e84cd241b7b41fe6f87242136b3f5ae857e5a13 (diff) |
plugin: new filters for forbidden product IDs/strings
Plugins may specify that specific vendor & product IDs or strings are not
supported. This is useful when plugins need to specify that they support
all devices of a given vendor except for some specific ones.
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/api/ModemManager-overview.xml | 52 |
1 files changed, 33 insertions, 19 deletions
diff --git a/docs/reference/api/ModemManager-overview.xml b/docs/reference/api/ModemManager-overview.xml index 01dc532f..751dc687 100644 --- a/docs/reference/api/ModemManager-overview.xml +++ b/docs/reference/api/ModemManager-overview.xml @@ -105,22 +105,29 @@ </para> </listitem> <listitem> - <para><emphasis>Allowed product IDs</emphasis></para> + <para><emphasis>Product IDs</emphasis></para> <para> Plugins can provide a list of udev-reported pairs of vendor and product - IDs to be used as pre-probing filters. If the vendor ID and product ID - pair reported by the device via udev is found in the list provided by - the plugin, port probing will be launched as requested by the given - plugin. + IDs to be used as pre-probing filters. </para> <para> - This additional filter should be used when the plugin is - expected to work only with a given specific product of a given vendor. + If the vendor ID and product ID pair reported by the device via udev is + found in the list of 'allowed' pairs provided by the plugin, port probing + will be launched as requested by the given plugin. This additional filter + should be used when the plugin is expected to work only with a given + specific product of a given vendor. </para> <para> - This filter is specified by the <type>MM_PLUGIN_ALLOWED_PRODUCT_IDS</type> - property in the <structname>MMPlugin</structname> object provided - by the plugin. + If the vendor ID and product ID pair reported by the device via udev is + found in the list of 'forbidden' pairs provided by the plugin, port probing + will not be launched by this plugin. This additional filter + should be used when the plugin supports all devices of a given vendor + except for some specific ones. + </para> + <para> + These filters are specified by the <type>MM_PLUGIN_ALLOWED_PRODUCT_IDS</type> + and <type>MM_PLUGIN_FORBIDDEN_PRODUCT_IDS</type> properties in the + <structname>MMPlugin</structname> object provided by the plugin. </para> </listitem> <listitem> @@ -280,21 +287,28 @@ </para> </listitem> <listitem> - <para><emphasis>Allowed product strings</emphasis></para> + <para><emphasis>Product strings</emphasis></para> <para> Plugins can provide a list of pairs of vendor and product - strings to be used as post-probing filters. If the vendor and product string - pair reported by the device via AT commands is found in the list provided by - the plugin, the plugin will report that it can handle this modem. + strings to be used as post-probing filters. </para> <para> - This additional filter should be used when the plugin is - expected to work only with a given specific product of a given vendor. + If the vendor and product string pair reported by the device via AT + commands is found in the 'allowed' list provided by the plugin, the + plugin will report that it can handle this modem. This additional filter + should be used when the plugin is expected to work only with a given + specific product of a given vendor. </para> <para> - This filter is specified by the <type>MM_PLUGIN_ALLOWED_PRODUCT_STRINGS</type> - property in the <structname>MMPlugin</structname> object provided - by the plugin. + If the vendor and product string pair reported by the device via AT + commands is found in the 'forbidden list provided by the plugin, the + plugin will report that it cannot handle this modem. This additional filter + should be used when the plugin supports all devices of a given vendor, except for some specific ones. + </para> + <para> + These filters are specified by the <type>MM_PLUGIN_ALLOWED_PRODUCT_STRINGS</type> + and <type>MM_PLUGIN_FORBIDDEN_PRODUCT_STRINGS</type> properties in the + <structname>MMPlugin</structname> object provided by the plugin. </para> </listitem> <listitem> |