سؤال

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.

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top