Maybe [netclient], I never got the attached file to work, if you can suss it please let me know. We need to know the local port but [netclient] and [netreceive] don't tell us. If you can get a response back you should be able to hand craft arbitary requests.
On Thu, 22 Mar 2007 18:49:57 +0000 Stuart Jones s.jones@csm.arts.ac.uk wrote:
Hi
In 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 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