UDP Socket issue

The place where software developers meet

Moderator: marcus

UDP Socket issue

Postby kimizhao » Wed 17. Mar 2010, 09:41

Hi there,

I'm trying to use UDP interface to control the IRTrans, and I use the Autoit3 language to set up the connection, and it seems that the UDP connection is built successfully, but our IRTrans LAN Controller XL doesn't work. Meanwhile, I could send the command to IRTrans with Its GUI Client. it's so odd for me, could you please give me a hand? Many thank!!!
kimizhao
 
Posts: 4
Joined: Wed 17. Mar 2010, 09:30

Re: UDP Socket issue

Postby IRTrans » Wed 17. Mar 2010, 18:48

Hi,
there is one important difference: When sending via GUI Client you are usually using the irserver and therefore the IR codes that are stored on your PC. To send them directly via UDP (or TPC or http) you will need to upload the needed remote files first. That is done using the IR Database dialog of the GUI client.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: UDP Socket issue

Postby kimizhao » Thu 18. Mar 2010, 02:13

Thanks a lot for your kind reply!:)
I used the same pc which installed IRtrans software and also sent the udp to LAN Controller XL. and for remote file, do you mean .rem file? i just record my .rem file and it could be found at c:\program files\IRTrans\remotes\ , where need i upload them?
Regards,
kimizhao
 
Posts: 4
Joined: Wed 17. Mar 2010, 09:30

Re: UDP Socket issue

Postby IRTrans » Thu 18. Mar 2010, 21:02

Please have a look at the manual. Your remote controls have to be uploaded usig the IRTrans GUI Client.
To upload you have to use the Device database dialog.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: UDP Socket issue

Postby kimizhao » Fri 19. Mar 2010, 02:45

i think i've finished the step you mentioned, would you please share a demo code with me? Many thanks!
kimizhao
 
Posts: 4
Joined: Wed 17. Mar 2010, 09:30

Re: UDP Socket issue

Postby IRTrans » Fri 19. Mar 2010, 10:03

Demo code for what ? For uploading the IRDB there is no code needed.
For the SW APIs you can find demo projects in the folders where the API is installed.

If you still have problems we would need to see your code and error messages you get.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: UDP Socket issue

Postby kimizhao » Mon 22. Mar 2010, 08:09

Thanks a lot for your kind help! finally, I've fixed the issue caused by IR DB :D
kimizhao
 
Posts: 4
Joined: Wed 17. Mar 2010, 09:30


Return to APIs

Who is online

Users browsing this forum: No registered users and 10 guests

cron