<br><br><div class="gmail_quote">On Fri, Nov 30, 2012 at 11:03 PM, Martin Peach <span dir="ltr"><<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@sympatico.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Better to use [tcpclient] / [tcpserver] or [udpreceive] / [udpsend].<br>
A single [tcpserver] or [tcpclient] can send and receive.<br></blockquote><div><br></div><div>ok, i am experimenting with that now, per your suggestions (thank you, by the way). the real issues now are that i am learning how to set up ports and i only just discovered what udp is, this week. i am going to toy around with UDP settings and ports and i will report my findings. </div>
<div><br></div><div>cheers! </div><div><br></div><div>Onyx</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div class="im"><br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Ok, so i got the [tcpsend]to work. i connected it at the point where<br>
the comport would usually get info. it is connected to the ip<br>
xxx.xxx.xxx.xxx 3000 and when i turn the patch on, it sends the<br>
appropriate data to the arduino fio/rn-xv over wifi. the problem now is<br>
that the [tcpreceive 3000] isnt receiving anything. from what i have<br>
read, tcpsen and tcp recieve work on the same port so if that port is an<br>
ip address, what would be the prefered means of getting the data from<br>
the fio?<br>
<br>
I am experimenting with port forwarding on my router right now. Is<br>
there anything you might know of that i could/should try, that might<br>
sort the port conflict out?<br>
<br>
cheers,<br>
<br>
Onyx<br>
<br>
On Mon, Nov 26, 2012 at 4:33 PM, <a href="mailto:onyx@onyx-ashanti.com" target="_blank">onyx@onyx-ashanti.com</a><br></div>
<mailto:<a href="mailto:onyx@onyx-ashanti.com" target="_blank">onyx@onyx-ashanti.com</a>> <<a href="mailto:onyxashanti@gmail.com" target="_blank">onyxashanti@gmail.com</a><div class="im"><br>
<mailto:<a href="mailto:onyxashanti@gmail.com" target="_blank">onyxashanti@gmail.com</a>><u></u>> wrote:<br>
<br>
I am going to investigate the updated wifly, wiflyserial and<br>
ethernet libraries onto the sketch for the rn-xv/arduino. this<br>
should allow me create a "serial socket" or something, once i grasp<br>
all that stuff a bit better. tcpclient, in place of [comport]<br>
connects and shows data sent but nothing is happening in pd or the<br>
arduino fio. i have begun toying with udpsend/udprecieve but that<br>
isnt working because i am sure that i havent connected the i/o in a<br>
manner that provides [comport] replacement functionality. i should<br>
have some results from that shortly. from what i have read, the way<br>
udp works might be better and if i can get one of the above<br>
libraries to see it, maybe my problem will be solved. i will let<br>
you what i come with in a few hours<br>
<br>
<br>
On Sun, Nov 25, 2012 at 10:59 PM, Martin Peach<br></div><div class="im">
<<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@sympatico.ca</a> <mailto:<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@<u></u>sympatico.ca</a>>> wrote:<br>
<br>
On 2012-11-25 15:51, <a href="mailto:onyx@onyx-ashanti.com" target="_blank">onyx@onyx-ashanti.com</a><br></div><div class="im">
<mailto:<a href="mailto:onyx@onyx-ashanti.com" target="_blank">onyx@onyx-ashanti.com</a>> wrote:<br>
<br>
if comport could accept an ip port argument, as well as a<br>
serial port<br>
argument, all would be lovely and nothing would have to<br>
change. it<br>
would simply recieve itsport from the ip. is there anything<br>
like this?<br>
<br>
<br>
In pd-extended there are [udpsend] and [udpreceive] as well as<br>
[tcpclient] and [tcpserver] that can be used instead of [comport].<br>
Probably you'll need to add a [import net] to get them.<br>
<br>
Martin<br>
<br>
<br>
<br>
<br>
--<br></div>
<a href="http://www.onyx-ashanti.com" target="_blank">www.onyx-ashanti.com</a> <<a href="http://www.onyx-ashanti.com" target="_blank">http://www.onyx-ashanti.com</a>><div class="im"><br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
<a href="http://www.onyx-ashanti.com" target="_blank">www.onyx-ashanti.com</a> <<a href="http://www.onyx-ashanti.com" target="_blank">http://www.onyx-ashanti.com</a>><br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
<br>
</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div><a href="http://www.onyx-ashanti.com" target="_blank">www.onyx-ashanti.com</a></div><br></div><a title="phone number" style="color:rgb(0,0,63);background-color:rgb(255,255,191)"><br>
</a><br>