We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RST
1 parent 1ad5b57 commit cdcfcb9Copy full SHA for cdcfcb9
2 files changed
bellows/ash.py
@@ -719,4 +719,4 @@ async def send_data(self, data: bytes) -> None:
719
720
def send_reset(self) -> None:
721
# Some adapters seem to send a NAK immediately but still process the reset frame
722
- self._write_frame(RstFrame(), prefix=40 * (Reserved.CANCEL,))
+ self._write_frame(RstFrame(), prefix=32 * (Reserved.CANCEL,))
tests/test_ash.py
@@ -438,7 +438,7 @@ async def test_ash_protocol_startup(caplog):
438
439
assert ezsp.reset_received.mock_calls == [call(t.NcpResetCode.RESET_SOFTWARE)]
440
assert protocol._write_frame.mock_calls == [
441
- call(ash.RstFrame(), prefix=40 * (ash.Reserved.CANCEL,))
+ call(ash.RstFrame(), prefix=32 * (ash.Reserved.CANCEL,))
442
]
443
444
protocol._write_frame.reset_mock()
0 commit comments