1394 isoch transfer: nr of bytes received?

Hello

I use the PC as a isoch listener and a transmit device as a isoch
transmitter. I could set up everything alright (after some hints from the
helpful poeple of this newsgroup), so that its working properly. Now I
would like to setup the driver that way, that he tells the app always
after a call, how many bytes were received already, so that the app can
update a “writepointer” pointing on the right location in the receive
buffer. I didn’t find a 1394 bus driver request who can manage this, do I
have to make some calls to the ohci1394.sys directly?

thanks for help
Daniel

If you get the callback from the ISOCH_DESCRIPTOR then your buffer has been filled with iso frames. Thus, you know the number of bytes anyway.
Note that there are some assumptions:
Your talker sends iso frames of a well-known size or frames of size zero.
The buffer size is a multiple of the frame size.

Do not try to call the ohci1394.sys directly.


Udo Eberhardt
Thesycon GmbH, Germany
xxxxx@thesycon.de
www.thesycon.de

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Daniel Luethi
Sent: Friday, August 09, 2002 3:01 PM
To: NT Developers Interest List
Subject: [ntdev] 1394 isoch transfer: nr of bytes received?

Hello

I use the PC as a isoch listener and a transmit device as a isoch
transmitter. I could set up everything alright (after some hints from the
helpful poeple of this newsgroup), so that its working properly. Now I
would like to setup the driver that way, that he tells the app always
after a call, how many bytes were received already, so that the app can
update a “writepointer” pointing on the right location in the receive
buffer. I didn’t find a 1394 bus driver request who can manage this, do I
have to make some calls to the ohci1394.sys directly?

thanks for help
Daniel


You are currently subscribed to ntdev as: xxxxx@thesycon.de
To unsubscribe send a blank email to %%email.unsub%%