Keep track of the current command in the state. In case of Nak, resend the current command. This assumes Nak is due to Receiver not Ready. The code should check for the actual Nak code.
Keep track of the current command in the state. In case of Nak, resend the current command. This assumes Nak is due to Receiver not Ready. The code should check for the actual Nak code.

jaj42/hsmedstream,jaj42/phystream