Great Project! Absolutely love it.
I'm trying to create AS3 driver for an ISO 15693 RFID reader running on a virtual COM port. I have created a small app that works on windows (with small minor issue that I'm trying to fix, which i won't discuss in this issue).
I need to get this app to work in OSX but the issue is:
The serial device is named: "/dev/tty.SLAB_USBtoUART"
and getComPorts() uses
if (i.nativePath.search("/dev/tty.usb") > -1)
I would assume it would work if it were
if (i.nativePath.search("/dev/tty.") > -1)
how would i modify that ?
Comment #1
Posted on Jan 3, 2012 by Happy BearThis project is designed for Arduinos and Arduino Compatibles... So all of the modern Arduinos will show up as /dev/tty.usb*
Since your project has a little different scope, you may want to simply extend the ArduinoConnector class and override that function. You would do that in the same manner as any other class you may have written.
Alternatively, you can check out check out all ActionScript code via SVN and bake your own ANE. You can watch a video on how to make your own ANE on my blog : http://quetwo.com/2011/11/03/creating-a-windows-air-native-extension-with-eclipse-part-3/
Comment #2
Posted on Jan 6, 2012 by Massive MonkeyThanks, all sorted now :) Also could you show us how to create an ANT script to work on OSX ?
Regards
Mirza Ceyzar
Comment #3
Posted on Jan 9, 2012 by Massive MonkeyAll Good, found the thread on your blog :)
Comment #4
Posted on Jan 9, 2012 by Happy BearGreat to hear. I don't have any good ANT scripts I can share for OSX, but I'm sure you can find some with a quick google search.
Status: Done
Labels:
Type-Other
Priority-Medium