core: don't allow concurrent flashes on the same device
Previously, a few operations (like disable) could trigger a modem flash in parallel with another flash. That's wrong, don't allow that. At the same time, add in finer-grained error checking on serial port speed operations, and fix a GSM generic bug that would send the POWER_UP string on disable.
This commit is contained in:
@@ -15,4 +15,22 @@
|
||||
</tp:docstring>
|
||||
</tp:error>
|
||||
|
||||
<tp:error name="Connected">
|
||||
<tp:docstring>
|
||||
Operation could not be performed while the modem is connected.
|
||||
</tp:docstring>
|
||||
</tp:error>
|
||||
|
||||
<tp:error name="Disconnected">
|
||||
<tp:docstring>
|
||||
Operation could not be performed while the modem is disconnected.
|
||||
</tp:docstring>
|
||||
</tp:error>
|
||||
|
||||
<tp:error name="OperationInProgress">
|
||||
<tp:docstring>
|
||||
Operation could not be performed because it is already in progress.
|
||||
</tp:docstring>
|
||||
</tp:error>
|
||||
|
||||
</tp:errors>
|
||||
|
Reference in New Issue
Block a user