IOT(Internet Of Thinks) Protocol

- Posted in Pengetahuan by

Definisi Protokol menurut saya adalah aturan-aturan yang harus diikuti. Sehingga IOT Protocol adalah aturan-aturan yang harus dipatuhi agar suksesnya IOT. Adapun protokol-protokol yang mendukung IOT adalah
1. HTTP
2. CoAP
3. MQTT
4. WebSockets
HTTP merupakan kepanjangan dari Hypertext Transfer Protocol. Umumnya http ini dipakai untuk menjelajah informasi-informasi yang ada di internet dengan bantuan aplikasi browser, seperti Mozilla, IE, Opera dll. Berdasarkan pengalaman saya, script PHP juga harus dipasangkan juga, sehingga di server IOT tersebut tersedia webserver (misalnya Apache) untuk membuka jalur HTTP dan aplikasi PHP untuk menjalankan scriptnya. Script yang umum dipakai adalah get, post.
Constrained Application Protocol (CoAP) is a lightweight http protocol that reads and controls the sensors deployed for IoT. It has actions like get, post, put, delete, observe, discover. This coap can be accessed similar like http, For ex: to access a particular mote (Sensor) with IPv6 like this coap://[aaaa::212:7402:2:202] The above line will fetch the sensor boards peripherals and one can control from the browser itself. Firefox has a Cu plugin to enable CoAP within the browser. CoAP is already available for all the devices like IOS, Android, Windows, Linux, Mac, etc