?? How to receive asynchronous stream packets ??

Status
Not open for further replies.

lambtron

Full Member level 5
Joined
Nov 2, 2005
Messages
251
Helped
34
Reputation
68
Reaction score
8
Trophy points
1,298
Location
Portland, OR
Activity points
3,546
How can I receive IEEE-1394 (firewire) asynchronous stream packets under Windows XP?

In the case of async non-stream packets I would call AllocateAddressRange() to set up packet receives. This installs a notification callback that executes in response to a received 1394 async write request (and/or read/lock request).

I haven't found a similar function for async stream packets and there appears to be zero information about this topic anywhere, including the µsoft literature. Does anyone out there know how to install a notification callback for async stream packets?
 

Nobody knows the answer, eh?

I have been thinking hard about this and I have an idea for something to try out:

1. Execute REQUEST_ISOCH_ALLOCATE_CHANNEL to get a channel number for my async stream. This will consume one of the isoch channel numbers, but it doesn't matter because I am not running any isoch streams.

2. Execute REQUEST_ISOCH_ALLOCATE_RESOURCES to get a resource handle for attaching buffers to my async stream channel.

3. Execute REQUEST_ISOCH_ATTACH_BUFFERS to connect the channel to a buffer that will receive incoming async stream packets.

If I have guessed correctly, this channel will be used by windows for both async and isoch streams as long as the channel number is correct. I will try this out when I get some time and post the results here.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…