<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 2/29/12 12:58 PM, berenger recoules wrote:
<blockquote
cite="mid:CAM1BBLZ5HHW5tdJvmb4WXrqjH6Y+b8uofuiVB9wyWrL6hxe_xw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hi
<div><br>
</div>
<div>in my experience, I managed to send data from Droidparty to
my computer but not the other way around, using the netro object
by Chris.</div>
<div><br>
</div>
<div>you can check the netro object that uses netsend and
netreceives : <a moz-do-not-send="true"
href="http://code.google.com/p/pd-netro/">http://code.google.com/p/pd-netro/</a></div>
<div><br>
</div>
<div>actually i also tried it on an iphone with rjdj and I can
send data to the iphone from my computer but not the other way
around. </div>
<div><br>
</div>
<div>when I worked with it i'm not sure the version of pd used for
libpd at this time was 0.43. As Chris mentions in the google
code, [netro] works with 0.43 and higher, it's maybe the time to
give it another try.</div>
<div><br>
</div>
<div>cheers</div>
<div><br>
</div>
<div>Bérenger</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">2012/2/29 Orm Finnendahl <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:o.finnendahl@inm.mh-freiburg.de">o.finnendahl@inm.mh-freiburg.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm checking out pddroidparty for communication between an
android<br>
device and a pd patch on another computer. It doesn't seem
to be<br>
possible to send to or receive any events using the netsend
and<br>
netreceive objects.<br>
<br>
I can ping both devices. Establishing a connection and
sending numbers<br>
from the computer to a numberbox in the android patch gives
no errors<br>
in the pd window on the computer, but the numbers aren't
displayed on<br>
the device. The same happens sending data from the android
to the<br>
computer. I can telnet the port on the android when
pddroidparty runs<br>
the patch (and get a "connection refused" message if the
patch has<br>
been closed) so it seems that there is no firewall blocking
the<br>
communication.<br>
<br>
Does anybody know about this issue or has anybody
successfully<br>
established netconnections between pddroidparty and another
computer<br>
and could give some advice?<br>
<br>
--<br>
Orm<br>
<br>
_______________________________________________<br>
<a moz-do-not-send="true" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a>
mailing list<br>
UNSUBSCRIBE and account-management -> <a
moz-do-not-send="true"
href="http://lists.puredata.info/listinfo/pd-list"
target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></pre>
</blockquote>
<br>
<blockquote
cite="mid:CAM1BBLZ5HHW5tdJvmb4WXrqjH6Y+b8uofuiVB9wyWrL6hxe_xw@mail.gmail.com"
type="cite">
<pre wrap="">
</pre>
</blockquote>
Hi,<br>
I am facing kind of the same problem with ScenePlayer on Android.<br>
<br>
For some time ago, I wanted to make another phone application
communicate with ScenePlayer. My idea was to inject the data into
ScenePlayer via localhost using networking utilities of Pd. For this
purpose, I recompiled ScenePlayer including externals from the
mrpeach library, then I tried several configurations in order to
test the different network protocols between the phone and my
computer.<br>
<br>
My conclusion is that there is only one way to have a working
bidirectional data exchange: [tcpclient] on the phone and
[tcpserver] on the computer. In all the other configurations (simple
[netsend]/[netreceive] or [tcpsend]/[tcpreceive] for example) it was
possible to send data from phone to computer but not from computer
to phone. When I tried to invert the working configuration (putting
a [tcpserver] on the phone), the following happened: the [tcpclient]
on the computer seemed to be connected (outlet 2 was set to 1) but
could not send (nor receive) any data to the phone.<br>
<br>
Unfortunately, this does not enable me to have a direct connection
between an external mobile application and ScenePlayer as I had
hoped. I gave up momentarily with the idea of using network
utilities, but I think that this is a question of interest for
people working with Pd on Android: is there a reason for incoming
TCP and UDP streams to be blocked?<br>
<br>
Cheers<br>
<pre class="moz-signature" cols="72">--
Gaël Dubus
Ph. D. student at KTH, Speech, Music and Hearing
Lindstedtsv. 24
S-10044         Stockholm (Sweden)
Mobile:         +46(0)76 096 3411
Office:                +46(0)8 790 7577
Fax:                 +46(0)8 790 7854
</pre>
</body>
</html>