Skip to content

v3.0.7 #22

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 4 commits into from
Jul 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=IridiumSBDi2c
version=3.0.6
version=3.0.7
author=Mikal Hart and Paul Clark (PaulZC)
maintainer=SparkFun Electronics <sparkfun.com>
sentence=This library supports satellite data transmissions from anywhere on earth using the RockBLOCK family of Iridium 9602 and 9603 modems.
Expand Down
2 changes: 2 additions & 0 deletions src/IridiumSBD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,8 @@ bool IridiumSBD::waitForATResponse(char *response, int responseSize, const char
matchTerminatorPos = c == terminator[0] ? 1 : 0;
}
} // while (filteredavailable() > 0)

delay(AT_RESPONSE_LOOP_DELAY); // Resolve #19
} // timer loop
return false;
}
Expand Down
5 changes: 3 additions & 2 deletions src/IridiumSBD.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class IridiumSBD

typedef enum { DEFAULT_POWER_PROFILE = 0, USB_POWER_PROFILE = 1 } POWERPROFILE;
void setPowerProfile(POWERPROFILE profile); // 0 = direct connect (default), 1 = USB
void adjustATTimeout(int seconds); // default value = 20 seconds
void adjustATTimeout(int seconds); // default value = 30 seconds
void adjustSendReceiveTimeout(int seconds); // default value = 300 seconds
void adjustStartupTimeout(int seconds); // default value = 240 seconds
void useMSSTMWorkaround(bool useMSSTMWorkAround); // true to use workaround from Iridium Alert 5/7/13
Expand Down Expand Up @@ -221,7 +221,8 @@ class IridiumSBD
int sendReceiveTimeout;
int startupTimeout;
unsigned long lastCheck = 0; // The time in millis when the I2C bus was last checked (limits I2C traffic)
const uint8_t I2C_POLLING_WAIT_MS = 5; //Limit checking of new characters to every 5 ms (roughly 10 chars at 19200 baud)
const unsigned long I2C_POLLING_WAIT_MS = 5; //Limit checking of new characters to every 5 ms (roughly 10 chars at 19200 baud)
const unsigned long AT_RESPONSE_LOOP_DELAY = 2; //Resolves #19 - 2 ms (roughly 4 chars at 19200 baud)

// State variables
int remainingMessages;
Expand Down