Monday, September 10, 2007
Monday, September 10, 2007    

I am curious if anyone has seen an AS3 class or knows how to go about having AS3 talk to a serial port (like Zinc). Is this possible without a Zinc-like wrapper?


7 Comments:

Anonymous Joe Johnston said...
 

“We have done a project with AIR connecting it to a serial port. Although we used a socket server to do the communication between the port and AS3, using bytearrays”
 
Blogger Doug Schmidt said...
 

“I don't think it is possible to talk to a serial port directly via AS3. You might have some luck trying the File API in AIR (try opening /dev/tty*), but there is no provision for baud rate or framing configuration.

I've already filed a feature request with Adobe, so maybe you can add your vote for it!

In the mean time, you can use a program like serproxy (with ports available on Win/Mac/Linux) and have your AS3 code connect over a local socket to serproxy. I'm using this technique to talk to an Arduino board via AS3.”
 
Anonymous jensa said...
 

“Nope. Flash can't talk to any hardware, so MDM is a good option :)”
 
Anonymous Campbell said...
 

“You would need some sort of native proxy either in the form of a wrapper (Zinc style) or some sort of local port server (Like phidgets)”
 
Anonymous katopz said...
 

“maybe this http://blog.hydrotik.com/”
 
Blogger e.dolecki said...
 

“Excellent comments everyone. Very nice morsels to check out. Thank you!”
 
Post comment

gotoAndStop( topOfPage );