port-probe: allow per-port ID_MM_TTY_AT_PROBE_TRIES tag for custom number of AT probes
For modems that need more time to respond to AT port probes (like some Telit devices, and Cinterion-based Telit MV31/MV32) allow a custom number of AT probe tries on a per-port basis for generic probing, or plugins that opt into this functionality. Signed-off-by: Dan Williams <dan@ioncontrol.co>
This commit is contained in:
@@ -307,6 +307,22 @@
|
||||
*/
|
||||
#define ID_MM_MAX_MULTIPLEXED_LINKS "ID_MM_MAX_MULTIPLEXED_LINKS"
|
||||
|
||||
/**
|
||||
* ID_MM_TTY_AT_PROBE_TRIES:
|
||||
*
|
||||
* For ports that require a longer time to become ready to respond to AT
|
||||
* commands, this tag specifies maximum number of AT probes to try as an
|
||||
* integer between 1 and 20 (inclusive). Each probe attempt has a three-second
|
||||
* timeout before the next probe is tried. Values outside the allowed range
|
||||
* will be clamped to the min/max.
|
||||
*
|
||||
* Plugins implementing custom initialization without opting into this tag
|
||||
* will ignore it.
|
||||
*
|
||||
* Since: 1.24
|
||||
*/
|
||||
#define ID_MM_TTY_AT_PROBE_TRIES "ID_MM_TTY_AT_PROBE_TRIES"
|
||||
|
||||
/*
|
||||
* The following symbols are deprecated. We don't add them to -compat
|
||||
* because this -tags file is not really part of the installed API.
|
||||
|
||||
Reference in New Issue
Block a user