Hi,

I'm writing an app which sends a file over the IR device using Object
exchange protocol. Getting the Obex to send "something" was pretty
striaightforward, but now I'm having some trouble reading in the file.

So I need to read the file in...so that I can buffer it, and send it...but
wait a sec...?

I'm not even so sure what I'm doing is right. Since I haven't been able to
try it yet anyway :(
I've got this little loop setup which begins by opening the file, reading a
bit of it into a buffer and then ExgSend'ing it repeatedly untill the buffer
was sent.

I think this method of data transfer is a bit inefficient. Ideally, since
the file is already in memory, I wanted to just get ExgSend to read it
directly from memory, but I didn't know how.
Is it ExgDBWrite? I'm a bit confused as to what this does...
The Beamer.c application in the SDK has everything in memory...how
convienent :). So it's not much help.

Also, I understand the plam defaults to 57kbps for transfer, is there anyway
to bump this up for Obex? I know using IROpen I can set it to 115kbps, but
then I would have replicate a lot of Obex functionality in my library. I'm
not sure if I'm up to that...yet ;)

Thanks for reading and thanks to all those who reply,

I hope this helps others,

Eddy



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to