Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: KKH on January 03, 2017, 03:02:49 am

Title: Can I use this toy like a IrDa-USB-Adapter in linux?
Post by: KKH on January 03, 2017, 03:02:49 am
Hi, I think I wrote first time in 2017, so I want to say "Happy New Year!!" for you.

By the way, I bought 2 IR Toys last month.

What I want is using toys kind of interface in Two Linux systems each other.

So, IR toys are have to run like a USB IrDA Adapter.

How to use like that?

Any Idea?
Title: Re: Can I use this toy like a IrDa-USB-Adapter in linux?
Post by: Barf on January 03, 2017, 12:09:35 pm
First of all, Irda is a completely different animal from "Consumer IR" (CIR). The different devices can (with rare exceptions) only be used for either Irda or CIR.

But you do not say "as Irda" you say "like Irda", as a serial link. This will necessary be a very low performance link; any old telephone modem from the last century will outperform it :-). The standard IR protocols sends a chunk of bits (typically 14-32) every 100ms or so.

Can it be done? The use case is, to my knowledge, not supported in the IrToy firmware. Basically you will have to write your own firmware. If so, it may be easier to start with e.g. an Arduino. Or, possibly even better, select a solution based on Bluetooth, RF, WiFi...

If anyone have a better idea, speak up.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01242051176session_write_close ( )...(null):0
20.01302182768ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01302183544Database_MySQL->query( ).../DatabaseHandler.php:119
40.05882322280Database_MySQL->error( ).../Db-mysql.class.php:273