0 Replies Latest reply on Sep 5, 2012 6:16 AM by jv_k

    AIR 3.4 + Socket - problem with incoming data from serial port


      Hi everyone,


      First of all, sorry for my english, i'll try to explain my problem the best I can..


      I'm trying to retreive the sound pressure level from my sound level meter (Voltcraft SL-300) in my AIR app.

      To do so and after some researches, I just plugged it with an USB cable to my pc, downloaded Serproxy, followed this super nice tutorial:


      and it worked! I was able to retreive some datas, but not perfectly...

      When I want to see what exactly my socket is sending, here is the result:


      As wrote in the tutorial, i'm using this to read bytes:


      _socket.readMultiByte(_socket.bytesAvailable, "ISO-8859-1");


      The thing is i'm totally noob when it comes to Bytes and I have no idea what else I can do nor wich direction my reseaches have to take...

      So I did some very simple/generic things like:

      - test with all charsets available here: http://help.adobe.com/en_US/air/reference/html/charset-codes.html

      - tried the solution of this guy: http://stackoverflow.com/questions/4099485/getting-my-serial-port-to-talk-to-my-adobe-air- app


      but with no result...

      Any idea?