> In addition, now I am getting a dialog saying "Error: Database:
> corrupt database (0x0209)".

OK, my bad, I had reversed the error checking condition:

if (err != errNone)
err = ExgDisconnect (&exgSocket, ExgDBWrite (WriteDBData, &exgSocket, 
exgSocket.name, dbID, 0));

should be

if (err == errNone)
err = ExgDisconnect (&exgSocket, ExgDBWrite (WriteDBData, &exgSocket, 
exgSocket.name, dbID, 0));

But the appData field is definitely not sent during the transfer; this seems to 
be a problem of the IrDA library. :-( The archive of messages posted to this 
form doesn't go far enough in time on the server I'm using (news.palmos.com) - 
but I found another archive with older messages - and there someone has said 
pretty much just that in 1999:

http://www.mail-archive.com/[email protected]/msg09849.html

Sigh... So, for the last two weeks I've been banging my head onto what's 
essentially a bug (or lack of feature) in the IrDA library. :-( Well, at least 
it's good to know that I'm not as stupid as I was starting to believe that I 
was. :-)

But I still need to find a way to pass information to the receiving device that 
would let it decide whether the beamed database is acceptable... Perhaps some 
additional packet beamed before the database itself?...

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

Reply via email to