Search found 11 matches
- Thu Jul 02, 2015 1:48 am
- Forum: Airconsole
- Topic: Raw Serial socket disconnect with certain packets
- Replies: 6
- Views: 123941
Re: Raw Serial socket disconnect with certain packets
Hi, another update: we found that the reason why those 2 packets are giving disconnection problems and the other are going ok is their length > 128 bytes. The problem is there only when the client is _sending_ packets to Airconsole, while there is no problem when the device sends more than 128 bytes...
- Wed Jul 01, 2015 3:41 am
- Forum: Airconsole
- Topic: Raw Serial socket disconnect with certain packets
- Replies: 6
- Views: 123941
Re: Raw Serial socket disconnect with certain packets
Hi, just an update: we kept investigating and probably we are "narrowing the circle". Trying to send our packets via your provided normal Airconsole USB-serial adapter to our PC-link interface, it doesn't fail. All is ok. The problem occurs if we connect _directly_ our device via USB CDC c...
- Mon Jun 29, 2015 8:11 pm
- Forum: Airconsole
- Topic: Raw Serial socket disconnect with certain packets
- Replies: 6
- Views: 123941
Re: Raw Serial socket disconnect with certain packets
Hi, thank you for your reply. Actually we are using a test client built by ourselves with Qt framework. But before sending you a code section, I thought that I hadn't tried your demo clients in websocket-sdk yet, so I tried rawserial.html and saw that "Send" the issue packets actually make...
- Sat Jun 27, 2015 3:28 am
- Forum: Airconsole
- Topic: Raw Serial socket disconnect with certain packets
- Replies: 6
- Views: 123941
Raw Serial socket disconnect with certain packets
Hi, I'm experiencing strange disconnections each time I use send 2 packets to my device through AirConsole in Raw Serial mode (no problems with all others). My fw is 2.65 (2015-06-02 build 650), hw version is A-01. Can you see something strange in these bytes (such as something that is seen as speci...
- Mon Jul 07, 2014 11:42 pm
- Forum: Airconsole
- Topic: Websockets: wss connections
- Replies: 2
- Views: 25299
Re: Websockets: wss connections
Hi Daniel, thanks for your answer. By the way, I was thinking to wss as a manner to have binary communication working with websockets between an android device and the airconsole. As I explained in another thread, the webview component, wich is the basic component for webapps, is working badly with ...
- Fri Jul 04, 2014 3:40 am
- Forum: Airconsole
- Topic: Websockets: wss connections
- Replies: 2
- Views: 25299
Websockets: wss connections
Hi, I should use a wss connection to bypass some android < 4.4 problems (see my previous thread).
Is it possible to make it, or the only websockets setting is the connection port?
Thank you
Is it possible to make it, or the only websockets setting is the connection port?
Thank you
- Thu Jul 03, 2014 3:31 am
- Forum: Airconsole
- Topic: Websockets, Android and Phonegap
- Replies: 3
- Views: 29592
Re: Websockets, Android and Phonegap
Update: I managed to have the phonegap websocket plugin (https://github.com/mkuklis/phonegap-websocket) working, but there's a strange behaviour, even in the echo app I packaged: the connection is established, the test message is sent, but nothing is received. But, once again, it's and android < 4.4...
- Tue Jul 01, 2014 7:04 pm
- Forum: Airconsole
- Topic: Websockets, Android and Phonegap
- Replies: 3
- Views: 29592
Re: Websockets, Android and Phonegap
Hi Simon thanks for your help, I just wanted to add this information: I packaged an app with phonegap that makes only a connection to http://www.websocket.org/echo.html and it doesn't work, so this issue is definitely due to the android webview component that currently (at least for 4.3.x and before...
- Mon Jun 30, 2014 10:35 pm
- Forum: Airconsole
- Topic: Websockets, Android and Phonegap
- Replies: 3
- Views: 29592
Websockets, Android and Phonegap
Hi, I know that mine is a very particular situation, but I'm asking if anybody has ever had to do with programming Phonegap webapps with websocket communication to Airconsole. The situation is: if I run the websockets Airconsole demo in an android phone starting from chrome browser, after having tra...
- Mon Jun 23, 2014 8:57 pm
- Forum: Airconsole
- Topic: Websocket send bin data through serial
- Replies: 2
- Views: 24248
Re: Websocket send bin data through serial
Thank you very much, with a very little modification it worked: airconsole.js: Airconsole.prototype.sendHexBytes = function(str) { var bytes = []; while (str.length >= 2) { bytes.push(parseInt(str.substring(0, 2), 16)); str = str.substring(2, str.length).trim(); } ac.sendBinary(bytes); } and in airc...