On 10/2/2012 11:00 PM, Kevin wrote:
what happens if you get a bad checksum? is there a command sent to the apple to resend the request, or does it just halt?
The current driver will send an I/O error back to the caller, sending recovery up a level in the stack. It would be easy to add a retry or two at the driver level, though.
One complicating factor - the serial library on the II side is blocking. You can hit escape to stop it when communications are going nowhere, but if there's no connection, it'll just sit until you do. I changed that when I implemented the driver for the /// so there's also a timeout. I intend to move that code over to the II as well, but there will be a ripple effect throughout the family that will need quite a bit of retesting.