MQTT & Mosquitto & Node.js

摘要:MQTT & Mosquitto & Node.js

MQTT down load 

http://mosquitto.org/download/

or

https://www.ibm.com/developerworks/community/groups/service/html/communityview?communityUuid=d5bedadd-e46f-4c97-af89-22d65ffee070

 

Mosquittot client 

http://jahbromo.blogspot.tw/2011/12/client-mqttt-javascript.html

 

Node.js

http://nodejs.org/#download

 

run Really Small Message Broker

rsmb_1.2.0\windows\broker.exe

 

run node.js loader.js

node load.js

 

PHP 

安裝XAMPP ,跑Apache

http://www.apachefriends.org/zh_tw/xampp-windows.html

php code 

https://github.com/tokudu/PhpMQTTClient

放至xampp/htdocs/tokudu

執行localhost/tokudu/index.php

 

Android

https://github.com/tokudu/AndroidPushNotificationsDemo

 

Android + Eclipse + Java 安裝

http://changyy.pixnet.net/blog/post/25441757

 

Android + Intellij IDEA

http://txlong-onz.iteye.com/blog/971059