Hi, I am using an Android 2.1 and put OSGi/Felix on it, using the following open source project http://code.google.com/p/felixembeddedonandroid/
I added the UPnP Base driver and the UPnP API I also added: - an android binary light (like the upnp) but removed all GUI and swing API and classes - a dummy application that turns ON all the lights. I am unable to detect the device using the UPnP tester, I am having the following error (at the end) However, the dummy application works well only on intel lights and turns all the intel lights ON. While the upnp felix lights are not modified. I am also able to detect the android binary light in "My Devices" IPhone application. and I can see the XML description details, what is strange though is that on the Felix Base Driver, it is trying to get the resource from http://10.227.156.43:4004/gen-desc.xml While I am on an Local Network and the IPhone browser is clearly showing the xml description from 192.168.1.103:4004 The UPnP Tester is on a PC with an IP 192.168.1.104 Anybody had this kind of problem before ? Regards, Charbel CyberDomo warning : NotifyListener returned an error: END CyberDomo warning : NotifyListener returned an error: END CyberDomo warning : NotifyListener returned an error: START java.lang.NullPointerException at java.util.Hashtable.containsKey(Unknown Source) at org.apache.felix.upnp.basedriver.importer.core.MyCtrlPoint.deviceNotifyReceived(MyCtrlPoint.java:202) at org.cybergarage.upnp.ControlPoint.performNotifyListener(ControlPoint.java:435) at org.cybergarage.upnp.ControlPoint.notifyReceived(ControlPoint.java:523) at org.cybergarage.upnp.ssdp.SSDPNotifySocket.run(SSDPNotifySocket.java:124) at java.lang.Thread.run(Unknown Source) CyberDomo warning : NotifyListener returned an error: END CyberDomo warning : Network is unreachable: connect java.net.SocketException: Network is unreachable: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at org.cybergarage.http.HTTPRequest.post(HTTPRequest.java:404) at org.cybergarage.http.HTTPRequest.post(HTTPRequest.java:471) at org.cybergarage.xml.Parser.parse(Parser.java:80) at org.cybergarage.upnp.ControlPoint.addDevice(ControlPoint.java:266) at org.cybergarage.upnp.ControlPoint.searchResponseReceived(ControlPoint.java:529) at org.cybergarage.upnp.ssdp.SSDPSearchResponseSocket.run(SSDPSearchResponseSocket.java:79) at java.lang.Thread.run(Unknown Source) CyberDomo warning : HTTP/1.1 200 OK Content-Type: text/html; charset="utf-8" Server: Linux/2.6.29 UPnP/1.0 CyberDomo/1.8 Content-Length: 0 Cache-Control: max-age=1800 EXT: Date: Tue, 21 Sep 2010 18:21:50 GMT ST: upnp:rootdevice USN: ANDROID-BinaryLight+b750732e::upnp:rootdevice Location: http://10.227.156.43:4004/gen-desc.xml MYNAME: ANDROID OSGi-UPnP BinaryLight CyberDomo warning : HTTP comunication failed: no answer from peer.Unable to retrive resoure -> http://10.227.156.43:4004/gen-desc.xml org.cybergarage.xml.ParserException: HTTP comunication failed: no answer from peer.Unable to retrive resoure -> http://10.227.156.43:4004/gen-desc.xml at org.cybergarage.xml.Parser.parse(Parser.java:82) at org.cybergarage.upnp.ControlPoint.addDevice(ControlPoint.java:266) at org.cybergarage.upnp.ControlPoint.searchResponseReceived(ControlPoint.java:529) at org.cybergarage.upnp.ssdp.SSDPSearchResponseSocket.run(SSDPSearchResponseSocket.java:79) at java.lang.Thread.run(Unknown Source) CyberDomo warning : SearchResponseListener returned an error: START java.lang.NullPointerException at java.util.Hashtable.containsKey(Unknown Source) at org.apache.felix.upnp.basedriver.importer.core.MyCtrlPoint.deviceSearchResponseReceived(MyCtrlPoint.java:432) at org.cybergarage.upnp.ControlPoint.performSearchResponseListener(ControlPoint.java:464) at org.cybergarage.upnp.ControlPoint.searchResponseReceived(ControlPoint.java:530) at org.cybergarage.upnp.ssdp.SSDPSearchResponseSocket.run(SSDPSearchResponseSocket.java:79) at java.lang.Thread.run(Unknown Source) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org