Skip to content

Commit

Permalink
Merge pull request #17 from OperatorFoundation/fix-satellite_transfer
Browse files Browse the repository at this point in the history
change <MO status> parameter check from 8 to 5, 5+ == send failure not 8+
  • Loading branch information
caternuson authored Jan 21, 2021
2 parents 8daaad3 + a6a7369 commit 38c1224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_rockblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def satellite_transfer(self, location=None):
if resp[-1].strip().decode() == "OK":
status = resp[-3].strip().decode().split(":")[1]
status = [int(s) for s in status.split(",")]
if status[0] <= 8:
if status[0] <= 5:
# outgoing message sent successfully
self.data_out = None
return tuple(status)
Expand Down

0 comments on commit 38c1224

Please sign in to comment.