Skip to content

Add adjustStartupTimeout() functionality #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2021
Merged

Add adjustStartupTimeout() functionality #4

merged 1 commit into from
Jan 11, 2021

Conversation

adamgarbo
Copy link
Contributor

Hi @PaulZC,

A small PR to add functionality to control the startup timeout of the Iridium modem. This is perhaps more relevant to users of the RockBLOCK, who are required to wait for the default duration of 240 seconds if their modem is not starting up properly.

The startup timeout continues to default to the original period of 240 seconds as specified by:

#define ISBD_STARTUP_MAX_TIME           240

Similar to the other timeout functions, this value can now be modified using: modem.adjustStartupTimeout(60);

A quick test shows the timeout working as intended:

10:01:34.945 -> Starting modem...
10:02:35.541 -> Begin failed: error 5
10:02:35.541 -> No modem detected: check wiring.

Cheers,
Adam

@PaulZC
Copy link
Collaborator

PaulZC commented Jan 11, 2021

Looks good @adamgarbo - thank you!
Merging...
I'll release it after a quick test.
Paul

@PaulZC PaulZC merged commit 034ccf3 into sparkfun:master Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants