I try a new way to access ir in PalmOS 5.2 and I got something...
I use sysFileCVirtIrComm like...
...
SrmOpen(sysFileCVirtIrComm,9600,&portId);
...
Then I see many strange characters sended by the Zire 21... so now IR port
is working, but I have a problem.
I don�t wanna use this IRComm protocol... I need my pure characters that I
send.  How I can disable the IRComm protocol? or have another way to send
for example "teste123" and receive "teste123"? because with this IRComm
protocol I send "teste123" and receive something like
"���������������������������������IrCOMM����������������������"
tanks everybody!

-----Mensagem original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nome de Regis
St-Gelais
Enviada em: ter�a-feira, 17 de fevereiro de 2004 12:36
Para: Palm Developer Forum
Assunto: Re: PalmOS 4.1 x PalmOS 5.2


Zire 21 is a OMAP processor based device.
OMAP processor can not send real RAW data to the IR port. (at least not
without some formating caracters)
Search the forum and also the comm-dev-forum, there is a lot of posts
regarding this issue.

--
Regis St-Gelais
www.laubrass.com
--
"Alexandre Teodoro Guimar�es" <[EMAIL PROTECTED]> a �crit dans le
message de news:[EMAIL PROTECTED]
> 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/

Reply via email to