ok, I try to use:

MemSet(&ser, sizeof(ser), 0);
ser.baud = 9600;
ser.function = serFncUndefined;
err = SrmExtOpen(serPortIrPort, &ser, sizeof(ser),&portId);

but zire 21 isn�t responding... zire 21 don�t do nothing...
I try the same in Palm III with OS 4.1 and everythink ok... palm send ok by
ir!
now what?! I need to change more something? i don�t know what I can do now!
:/

Alexandre


-----Mensagem original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nome de Jos� dos
Santos Machado
Enviada em: ter�a-feira, 17 de fevereiro de 2004 12:09
Para: Palm Developer Forum
Assunto: Re: PalmOS 4.1 x PalmOS 5.2


Maybe you should be using the new serial manager ?

 -- J. Machado
 -- [EMAIL PROTECTED]

Alexandre Teodoro Guimar�es escreveu:

> Hi All,
>
> I have one problem here. My codewarrior application that I make for the
Zire
> PalmOS 4.1 not work on new Zire 21 PalmOS 5.2.
> The application is simple, and just send characters to the infrared port.
> This is the source:
>
> ////////begin
>
> Err err;
> UInt16 portId;
> UInt32 toSend, NumSent;
>
> SrmOpen(serPortIrPort,9600,&portId);
> SrmControl(portId, srmCtlIrDAEnable, NULL, 0);
>
> toSend = StrLen("teste123");
> NumSent = SrmSend(portId,"teste123", toSend, &err);
>
> SrmSendWait(portId);
>
> SrmControl(portId,srmCtlIrDADisable,NULL,0);
>
> SrmClose(portId);
>
> ////////end
>
> This source is make in codewarrior v9.2 and work fine in any OS4.1, but
not
> in the new OS5.2 like zire 21.
> Anyone can help me? Please?!
> very tanks.
>
> Alexandre Teodoro Guimar�es         [http://alexguim.cjb.net]
> Analista de Sistemas G&M Solu��es   [http://www.gmsolucoes.com.br]
> ICQ: 282-168-268
> Messenger: [EMAIL PROTECTED]
> Brasil
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


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




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

Reply via email to