modem_atcmd: raise ProtocolError instead of ReaderError on CME ERROR

Also accept ProtocolError in addition to SwMatchError in filesystem.py
when probing for applications

Change-Id: I82b50408328f8eaaee5c9e311c4620d20f930642
This commit is contained in:
Tobias Engel authored and laforge committed 2023-06-02 15:35:43 +00:00
1 parent bca01523df
commit d70ac22618
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1352,7 +1352,7 @@ class RuntimeState:
if sw == "9000":
print(" %s: %s" % (f.name, f.aid))
apps_taken.append(f)
except SwMatchError:
except (SwMatchError, ProtocolError):
pass
return apps_taken