Quantcast
Viewing all articles
Browse latest Browse all 941

Looking for net library alternative

Hello guys, With a friend of mine I am working on a telemetry system for my sailing classes. The components exchange their data via JSON on WiFi TCP massages.

The communication allready works fine and even sharing the data with a processing desktop application works but I planed to use a Android device to visualize the data online during the lessons.

I noticed that the net library does not exists in the Android mode and I found the OscP5 as well as the ketai library which shall include a TCP client class. I look through the examples but just found one in OscP5 but the example wouldn't work on my Nexus an the TCP server on my network. I am not sure whether it is because the Osc massage protocol or the TCP connection. My idea was to use the netP5 library which lies underneath oscP5 to establish the connection without the Osc stuff and unpack them with the JSON object. But I was not able to find examples how to use this lib.

Has anyone experience with the netP5 library and can help me? Or does anyone know another way to connect a processing app to the TCP server?


Viewing all articles
Browse latest Browse all 941

Trending Articles