I have successfully make a IrLap connection with a IrDA device,
but when I want to send data to it, a error msg says "operation fail".
anybody can help !!
here is my code,

--------------
        packet.buff =   (char*)msg;     
        packet.len = 28;//StrLen(msg);
      
        if((ret=IrDataReq(ir_ref, &con,&packet))!=IR_STATUS_PENDING)
        PRINTF("IrDataReq() failed: %s\r",ir_status_str[ret]);                         
                 
--------------

        Hope U :-) every second!        

E r i c                                                 
                                                           
             Electrical and Electronic Engineering
       The  Hong Kong University of Science and Technology
                URL: http://home.ust.hk/~ee_slm 

Reply via email to