Hi!
I'm not sure but, it can be something about the device name parameter
defined by the "IrIAS_SetDeviceName" function that Set the value field of
the device name attribute of the "Device" object in the IAS Database.
like this:
UInt8 DeviceName[] = { IAS_ATTRIB_USER_STRING, IR_CHAR_ASCII, 8, 'P', 'A',
'L', 'M', 'D', 'E', 'M', 'O'};
if (IrBind(LibRef, &IrCon, IrHandler) == IR_STATUS_SUCCESS){
if (IrSetDeviceInfo(LibRef, OurDeviceInfo, OurDeviceInfoLen) ==
IR_STATUS_SUCCESS){
if ( IrIAS_SetDeviceName(LibRef, DeviceName, sizeof(DeviceName)) ==
IR_STATUS_SUCCESS){
if ( IrIAS_Add(LibRef, &irdemoObject) == IR_STATUS_SUCCESS){
}}}}
I hope that's usefull.
I've a lot of douts about Ir with Lmp conn. if anyone has some sample code
send me please
jobert
----- Original Message -----
From: "Paturi, Ramesh P (IndSys)" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Saturday, May 25, 2002 9:32 AM
Subject: IR problems
> Hi:
> I am trying to communicate to a MCP2150 chip thruIR from a M125
> palm. I could discover the MCP chip and connect to IrLAP. But during IrLMP
> connection, in a call to IrIAS_Query, i am getting a problem. The call
back
> to IASQuery is giving me a problem and GetType() function is returning
> IAS_ATTRIB_MISSING message and hence i am not able to proceed any further.
> Can anyone of you tell me how to solve this problem?
>
> I would appreciate any help and i am running behind the schedule. So
> any help will be highly appreciated.
>
> Thanks and regards
> Ramesh
>
>
> ____________________________
> Ramesh Paturi
>
> GE India Design Centre
> Edison Towers,
> S P Road, Secunderabad-500003
> e-mail: [EMAIL PROTECTED]
> Tel : 0091-40- 788 1846
>
>
>
> "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> ADDRESSEE and may contain confidential and privileged information.
> If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this
> communication is strictly Prohibited.
> If you have received this message by error, please notify us
> immediately, return the original mail to the sender and delete the
> message from your system."
>
>
> --
> 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/