Thanks for the feedback.  I've often wondered about that "Waiting for
Sender" dialog.  I get it whenever my Palm is near my laptop (about every 3
seconds my laptop goes looking for IrDA devices).

I can turn the polling off under Win98, but it is handy to have it auto
detect some stuff.

I'm also curious about how the Exchange Manager binds and unbinds to the
stack.  I guess I'll have to do some spelunking for that one... ;)

Thanks Again,
-jjf

-----Original Message-----
From: Danny Epstein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27, 2000 10:42 AM
To: Palm Developer Forum
Subject: Re: Really Basic Ir Library Question


I'm not an IrDA expert, but I'm pretty sure you're right. When you open the
IR library, you're effectively disabling the Exchange Manager (ie. OBEX).
Palm OS doesn't support multiple services. You don't have to worry about
restoring the XID or LSAP selector. When you close the IR library, OBEX will
restore these.

One technique I've used is to send a test packet before doing a discover. If
the other device hasn't opened the IR library yet, the test packet will be
ignored. If my app has opened the IR library on the receiving device, it'll
bounce the test packet back after tweaking it. When the sender gets this
bounce, it knows that the receiving device is ready. It can then do a
discover. If you try to do a discover while the receiving device is running
OBEX, a "waiting for sender" dialog will appear for a while on the receiving
device.
--
Danny Epstein
OS Engineer, Palm Inc.


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

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

Reply via email to