Hey,
I'm working on an BuildingAutomationControl Android App, that allows the user to see his Building and turn on and off lights, open windows, control the ventilation etc.
For doing so Android will get and set data points on a building automation station. This station is Linux based and runs a JVM and is connected to the local Ethernet, so it's similar to the Android platform.
My question is, what network protocol you would suggest for the communication between the two devices. All that I actually have to do is implement a getDatapointValue(datapointID) and setDatapointValue(value, datapointID) method.
The Automation station already has WebServices implemented so I will start off using these, but since ws aren't the best solution for a Mobile Device (as I read...) you might have a better idea....
Also, having a push functionality would be very nice.... for example, that if a light gets switched off manually the automation station will push a ValueChanged(datapointID) to the Android device. - With ws this is impossible...
Might XMPP be a good protocol for my need? - I haven't really found a lot of doc about it....
Any other ideas?
Greets David

