At 10:17 PM -0700 2001/07/12, Brian Hall wrote:
>[[ This message was both posted and mailed: see
>   the "To," "Cc," and "Newsgroups" headers for details. ]]
>
>In article <56398@palm-dev-forum>, Jim Schram <[EMAIL PROTECTED]>
>wrote:
>
>> The serCtlIrDAEnable "opcode" is only supported by the OLD serial manager,
>> and by the new serial manager's compatibility "wrapper" library (i.e. the
>> shared library which veneers the new serial manager calls as old serial
>> manager calls). Note the "ser" prefix. When you use the SrmXXX versions of
>> the serial manager APIs, the correct opcode to use is srmCtlIrDAEnable.
>
>Yes, however that does seem to generate an error on an m505, where the
>same code does not on a Vx running 3.5.x.
>
>The below code will return a serErrNotSupported or serErrBadParam
>depending on which port you pick on an m505. (I realize you recommend
>using serPortIrPort, but at least *one* of the ports that are
>enumerated should be the same as that one, no?)

Ah... I see the problem now. And it's not with your code, it's a bug in Palm OS 4.0 -- 
probably not what you wanted to hear, huh?

This has been fixed in Palm OS versions after 4.0, and I've already written an 
internal 4.0.1 System Update which fixes the bug. But unfortunately, we have no plans 
to release it for all existing 4.0 devices due to a lack of available testing 
resources.

The fix is rather complex, because it has to patch the serial manager's SrmControl 
trap and pass the srmCtlRxEnable and srmCtlRxDisable opcodes down to the current 
serial driver plug-in. The ROM version of the routine in Palm OS 4.0 does not pass 
those two serial opcodes down, which is why you see the serErrNotSupported error 
returned from SrmControl.

If you feel this issue is serious enough to warrant the release of a System Update to 
correct it, lobby Palm developer support to provide the required Q/A resources to make 
it a public release.

Best Regards,

Jim Schram
Palm Incorporated
Partner Engineering


-- 
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