{"action":"created","issue":{"url":"https://api.github.com/repos/anakod/Sming/issues/145","labels_url":"https://api.github.com/repos/anakod/Sming/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/anakod/Sming/issues/145/comments","events_url":"https://api.github.com/repos/anakod/Sming/issues/145/events","html_url":"https://github.com/anakod/Sming/pull/145","id":91614114,"number":145,"title":"mDNS Advertise demo using ESP SDK","user":{"login":"hrsavla","id":12005981,"avatar_url":"https://avatars.githubusercontent.com/u/12005981?v=3","gravatar_id":"","url":"https://api.github.com/users/hrsavla","html_url":"https://github.com/hrsavla","followers_url":"https://api.github.com/users/hrsavla/followers","following_url":"https://api.github.com/users/hrsavla/following{/other_user}","gists_url":"https://api.github.com/users/hrsavla/gists{/gist_id}","starred_url":"https://api.github.com/users/hrsavla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrsavla/subscriptions","organizations_url":"https://api.github.com/users/hrsavla/orgs","repos_url":"https://api.github.com/users/hrsavla/repos","events_url":"https://api.github.com/users/hrsavla/events{/privacy}","received_events_url":"https://api.github.com/users/hrsavla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-28T16:30:31Z","updated_at":"2015-07-02T03:19:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/anakod/Sming/pulls/145","html_url":"https://github.com/anakod/Sming/pull/145","diff_url":"https://github.com/anakod/Sming/pull/145.diff","patch_url":"https://github.com/anakod/Sming/pull/145.patch"},"body":"/*** mDNS Demo\r\n * The multicast Domain Name System (mDNS) resolves host names to IP addresses\r\n * within small networks that do not include a local name server.\r\n * More info on mDNS can be found at https://en.wikipedia.org/wiki/Multicast_DNS\r\n * mDNS has two parts 1. Advertise 2. Listen\r\n * Bellow code (using ESP SDK) just does Advertise\r\n * Listen implementation is still on going work and will be basically porting\r\n * http://gkaindl.com/software/arduino-ethernet/bonjour to \"Sming\"\r\n *\r\n * In short this code will advertise other machines about its ipaddress.\r\n * But you can not convert other mDNS advertiser's host name to ipaddress. (this is work of Listening)\r\n *\r\n * How to use mDNS\r\n * 1. ADD your WIFI_SSID / Password\r\n * 2. Flash the Complied code to ESP8266\r\n * 3. According to OS of your PC / phone\r\n * \t\tA. Mac OS (iphone/ipad/ mac)\r\n * \t\t\tin Safari browser type \"http://test.local/\" to open the Ajax sample webpage.\r\n * \t\tB. Windows (You need Bonjour Service running. If you do not have it Install it from\r\n * \t\t   http://download.cnet.com/Bonjour-for-Windows/3000-18507_4-93550.html\r\n * \t\t   After installing in IE or Chrome or other browser type\r\n * \t\t   \"http://test.local/\" to open the Ajax sample webpage.\r\n * \t\tC. Linux  (You need to install Avahi mDNS/DNS-SD daemon)\r\n * \t\t\tIn your browser type \"http://test.local/\" to open the Ajax sample webpage.\r\n * \t\tD. Android\r\n * \t\t\tYou need to install ZeroConf Browser or Bonjour Browser\r\n * \t\t\tIn those app you would be able to see IP address of your ESP module\r\n * \t\t\tIn android Chrome \"http://test.local/\" does not translate to IPaddres\r\n * \t\t\tSo android Chrome is not supporting mDNS.\r\n * \t\t\tBut you can make your own app using Network Service Discovery. Look at bellow link for details\r\n * \t\t\thttp://developer.android.com/training/connect-devices-wirelessly/nsd.html\r\n *\r\n */\r\n"},"comment":{"url":"https://api.github.com/repos/anakod/Sming/issues/comments/117890297","html_url":"https://github.com/anakod/Sming/pull/145#issuecomment-117890297","issue_url":"https://api.github.com/repos/anakod/Sming/issues/145","id":117890297,"user":{"login":"anakod","id":1471116,"avatar_url":"https://avatars.githubusercontent.com/u/1471116?v=3","gravatar_id":"","url":"https://api.github.com/users/anakod","html_url":"https://github.com/anakod","followers_url":"https://api.github.com/users/anakod/followers","following_url":"https://api.github.com/users/anakod/following{/other_user}","gists_url":"https://api.github.com/users/anakod/gists{/gist_id}","starred_url":"https://api.github.com/users/anakod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anakod/subscriptions","organizations_url":"https://api.github.com/users/anakod/orgs","repos_url":"https://api.github.com/users/anakod/repos","events_url":"https://api.github.com/users/anakod/events{/privacy}","received_events_url":"https://api.github.com/users/anakod/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T03:19:13Z","updated_at":"2015-07-02T03:19:13Z","body":"Websocket supported only in server mode. If yo want client, please create Issue with feature request and describe details why this functionality needed."}}