Wifi socket communication with android phone -


i ask, how this wireless socket communicates android phone?

i trying buy wireless socket, control through own code. these wireless socket has app developed them. possible source code or know how communicate wireless socket , control?

as mentioned, use wireshark (or shark root if have android device rooted). socket looks similar 1 aldi australia selling (under brand name bauhn, it's orvibo socket, rebranded). if same, check out sample node.js code i've posted on over github (this code controls orvibo allone, controls orvibo s10 / s20 sockets too)

the short of is:

  • the socket communicates via udp on port 10000
  • you need know mac address of socket
  • you send discovery packet socket replies
  • you 'subscribe' socket in order control it
  • when send on / off packets socket, replies in turn it's current state

edit: there's further breakdown of protocol here: http://pastebin.com/0w8n7ajd . credit goes nozza87 on ninja blocks forum

2016 edit: code mentioned no longer date. can install node-orvibo, controls this, allone ir blaster, , can (sort of) schedules , such. either install via npm install --save node-orvibo or check out code here: http://github.com/grayda/node-orvibo

note orvibo s10 / s20 sockets sold under variety of names, including arlec pc180. see github page (incomplete) list of brand names , places buy them.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -