[PD] Getting (not pure) data over the internet

martin.peach at sympatico.ca martin.peach at sympatico.ca
Thu Mar 22 21:07:51 CET 2007


You could try [tcpclient]. You would need to convert the request into a series of ASCII numbers and similarly with the replies.
It's in cvs at /externals/mrpeach/net.

Martin


> 
> De: Stuart Jones <s.jones at csm.arts.ac.uk>
> Date: 2007/03/22 jeu. PM 03:00:25 EDT
> À: <pd-list at iem.at>
> Objet: [PD] Getting (not pure) data over the internet
> 
> Hi
> 
> Sorry to have sent this in HTML earlier, new to this and hit the send button
> to soon...
> 
> I need to get data from a wireless sensor network to control Pd patches. The
> WSN feeds to a database on a server and I need to send queries over the
> internet to the data server in the form http://ip
> address/data/location/device/now (or when on a LAN: ip
> address/data/.../.../now). How do I send the query out of the Pd patch, and
> how do I get the resulting data back in? (The data comes in this form:
> 2007-03-22 18:00:01,17,1,0, which is timestamp, device ID, data). I would
> automate the querying with [metro].
> [netsend] [comport] [netserver] don¹t seem to apply.
> 
> BTW got good results using [comport] on site, picking up from arduinos
> sending via bluetooth. However, must be done via the server, as data is
> coming from arduinos, crossbow motes, and proprietary systems and anyway the
> arduino bluetooth is paired to the server.
> 
> Thanks
> 
> Stuart
> 
> 
> 
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 





More information about the Pd-list mailing list