Heh Heh I figured it out! :)
Kind of... O_o

Just to share,
it was ExgDBWrite.
All the stuff that I wrote, was taken care of by ExgDBWrite! Whew..
I had to add an extra function called WriteProc, which is called repeated by
ExgDBWrite.
It was pretty easy.

One immediate drawback, is that I'm not sure how I'll get my progress
indication going now that I'm using the Object exchange...

But it's not working 100%. It appears something is slightly wrong...I'm
getting a error on the reciever side. Something about the file format being
invalid. I suspect it was because I prefixed the name entry int he struct
with the exgBreamPrefix. Dunno if thats causing problems.

Also, according to my laptop FIR Win2K wireless connection icon, the
connection is indeed 115000bps.

Cheers,

Eddy

"Eddy Lee" <[EMAIL PROTECTED]> wrote in message
news:101489@palm-dev-forum...
>
> 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