Upnp: Intel: Generate Stack: Java Android: Invoking Actions On Network Light Sample
Solution 1:
Does it mean that your network light is already running? Do you see the light bulb on your Android? Is your Android connected to a private local network? Your WiFi perhaps. UPnP is meant to be used on local trusted networks (no security included per design).
If so, then access the same network as Android is connected to with DeviceSpy from the mentioned toolset, and look for device "Network Light" of type DimmableLight. Complete description of what can be done with it is found at http://upnp.org/resources/upnpresources.zip and there
standardizeddcps/Lighting Controls_1/UPnP-ha-DimmableLight-v1-Device*.pdf
DeviceSpy exposes all interfaces and state variables, which you can inspect, call and modify. Under the hood there is no rocket science, plain old SOAP over HTTP with some extended headers and salted with multicast. So to drive the Network Light yourself, you need to write a Control Point. I guess that the dev tool in question can generate that stack for you as well. Or use some standalone libs which i won't reiterate here.
Post a Comment for "Upnp: Intel: Generate Stack: Java Android: Invoking Actions On Network Light Sample"