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:
Giacinto Cifelli 2018-10-24 07:28:09 +02:00 committed by Denis Kenzior
parent 92bf7fb867
commit 13467d5dcb
1 changed files with 3 additions and 0 deletions

View File

@ -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