Does anybody have experiences or know projects where Xojo Software could communicate with Rasberry Pi Embedded Systems via TCP/IP? Xojo is x86 only and so forth cannot run on these devices, but a customer is thinking more and more loudly to communicate via Sockets and/or REST Web interface to Rasberry Pi and I have no clue, what to say him.
Treat the Raspberry PI as any other Linux server and you will have less problems. I’ve not done TCP Sockets but a REST Web interface doesn’t change no matter what the hardware it is running on.
Edit: This page will help: http://documentation.xojo.com/index.php/HTTPSocket
The sockets support in Xojo is pretty good. If the Raspberry Pi can handle both TCP and UDP, you’re likely to be successful communicating with it from within your Xojo app. I’m happy to answer specific socket questions that you may run into.
Good luck!
Absolutely it will work. I have a few small devices that run Raspberry Pi and they all communicate just fine w/ a server service application, by way of tcpSocket, which I developed in Xojo.
Thank you guys for your answers. I will give it a try and looking forward to communicate with these small devices and PLCs. Seems to become an interesting project and yes I thought about a couple of very robust and basic server services for database IO stuff and I have a lot to read and trial with Debian und QEMU on one hand and TCP/IP Sockets on the other hand now.
Still not sure if these xojo services they run directly on a rasberry (via QEMU) or on the desktop PC. But it’s always an experience to see or to hear, how a simple change of a variable or recordset in the virtual world causes something to be moved physically in the real world.