MMC Write operation and SPTI



When using SPTI , does the only way to know when to stop sending the write commands to the MM device (CDRW/DVDRW) is to send READ BUFFER CAPACITY command and check the blank buffer size?
The problem is that i check the buffer blank capacity and when i send a stream of write commands i get a device error, although the stream size is less than the size reported by buffer capacity command.

It will help if anyone knows about asynchrony method to get some event that the CDRW/DVDRW is busy and to stop sending the write commands



You don’t need to stop, just keep sending.

If the drive can’t accept more data it’ll either make you wait a while and not return control to the program or it’ll say there’s a long write in progress - in which case you just resend the same command/data.