Page 1 of 1

PostPosted: Wed Jul 21, 2004 12:35 am
by Gordon.F_69
I try since 2 day to send data by the IR port without sucess :(

My "simple" program :

#include "\\PocketC\\pcheader.h"
#include "\\PocketC\\pcirda.h"
#include "\\PocketC\\pcfilesys.h"

int main (void)
int ok=0;
SOCKET sock;
if (iropen(sock))
{putsl("iropen sucess");}
{putsl("iropen failed");}

if (irsendint(sock,15,10))
{putsl("irsendint sucess");}
{putsl("irsendint failed");}

And I've all time :
iropen sucess
irsendint failed

Plz Help me...

And if you can, give me source code for send data...(I'm a "Noob" in this language)

Sorry, for my english, I'm no very good...

PostPosted: Sun Feb 12, 2006 12:12 pm
by stanley602
I'm having a similar problem, don't have the code any more cos it didn't work. I think it needs to actually connect to a device before you can send anything. I don't know.

The pixels are alive! Death to the pixels!