Export to GitHub

as3-arduino-connector - issue #4

unable to readBytesAsByteArray()


Posted on Nov 25, 2011 by Happy Giraffe

when handling a socketData event and invoking: readBytesAsByteArray() the Adobe Debug Launcher crashes, taking the debug process down.

readBytesAsArray() works fine as well as readByte().

I suspect a while loop waiting for bytesAvailable() to go to 0 locked up at one point, so I didnt want to use that while loop anymore.

windows 7 x64 (had to find pthreadgc2.dll manually as well)

I had to sign the ANE file to use it in the Flash Builder pre-release

Flash Builder 4.6 pre release Air 3.1

Comment #1

Posted on Nov 25, 2011 by Happy Bear

I will check into the readBytesAsByteArray(), and see if I can get it to crash in my setup. I will admit I didn't run my full test suite against that function.

The next update will include the pthreadgc2.dll in the package.

The final release of FB4.6 no longer requires signing of the ANE. You may want to make sure you are using a semi-current version -- I don't think signing has been required since the Setember release...

Comment #2

Posted on Dec 18, 2011 by Happy Bear

Issue closed with release of 1.0.0

Comment #3

Posted on May 15, 2012 by Helpful Panda

Hi,I have an question to ask,when i use this ANE for serial port connect.The socketData Event will some time stop running when i send data uninterrupted(10 times in 1 seconds).Then the data will not be receive even they still come. thanks.

Status: Verified

Labels:
Type-Defect Priority-Medium Milestone-Release1.0