mirror of git://git.sysmocom.de/ofono
include: add ofono_modem_set_powered_timeout_hint
function to set the powered timeout for those cases where a device might require longer time to boot (uncommon). The function is effective if called before Powered=true, so it is best called by modem detection logic and prior to calling ofono_modem_register.
This commit is contained in:
parent
92bf7fb867
commit
13467d5dcb
|
@ -127,6 +127,9 @@ void ofono_modem_driver_unregister(const struct ofono_modem_driver *);
|
|||
struct ofono_modem *ofono_modem_find(ofono_modem_compare_cb_t func,
|
||||
void *user_data);
|
||||
|
||||
void ofono_modem_set_powered_timeout_hint(struct ofono_modem *modem,
|
||||
unsigned int seconds);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue