Skip to content

Commit 38c1224

Browse files
authored
Merge pull request #17 from OperatorFoundation/fix-satellite_transfer
change <MO status> parameter check from 8 to 5, 5+ == send failure not 8+
2 parents 8daaad3 + a6a7369 commit 38c1224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_rockblock.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def satellite_transfer(self, location=None):
181181
if resp[-1].strip().decode() == "OK":
182182
status = resp[-3].strip().decode().split(":")[1]
183183
status = [int(s) for s in status.split(",")]
184-
if status[0] <= 8:
184+
if status[0] <= 5:
185185
# outgoing message sent successfully
186186
self.data_out = None
187187
return tuple(status)

0 commit comments

Comments
 (0)