Frage

I want to create a server through which i can track devices(mobile,vechile etc etc). How can i create a protocol that can accept commands from all type of devices.

War es hilfreich?

Lösung

The simplest solution is to support TCP or UDP requests assuming they support IP. I would suggest getting TCP to work first. I would send what you need to send in the simplest Text or Binary format you can come up with.

If they don't support IP I suggest creating a gateway which support the transport they support already and pass this to TCP so your server has a common transport and protocol to talk to.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top