lmahdi / as3-arduino-connector

Automatically exported from code.google.com/p/as3-arduino-connector
0 stars 0 forks source link

unable to readBytesAsByteArray() #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

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

Original issue reported on code.google.com by Gnir...@gmail.com on 25 Nov 2011 at 12:41

GoogleCodeExporter commented 8 years ago
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...

Original comment by Nicholas...@gmail.com on 25 Nov 2011 at 6:06

GoogleCodeExporter commented 8 years ago
Issue closed with release of 1.0.0

Original comment by Nicholas...@gmail.com on 18 Dec 2011 at 4:23

GoogleCodeExporter commented 8 years ago
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.

Original comment by ljfdest...@gmail.com on 15 May 2012 at 8:45