Git Product home page Git Product logo

Comments (12)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Could not reproduce this issue.
Some UPnP devices don't sent the right notifications (BYE) at shut down (so 
they are only removed after atimeout). 
What UPnP device is used here ?

Original comment by [email protected] on 5 Sep 2011 at 1:30

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Is it possible to make pcap file of the traffic between the device and the upnp 
stack while the device is switched off?

Original comment by [email protected] on 5 Sep 2011 at 4:02

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Thanks for your reply
Could you please tell me the steps to make pcap file so that i can send you.
We are using a camera which is upnp enabled & connected on a wifi network.

In our testing we have seen the following things:
1. When we switch OFF the camera, the device list in demo app is updating after 
1:25 to 1:50 minutes & removing the camera name from the list.
2. When we switch ON the camera, the device list in demo app is updating after 
1.2 to 2.2 minutes & showing the camera name in the list.

We have another query, in our application we are searching the upnp devices for 
10 to 15 seconds only & don't want to run the upnp discovery continuously in 
the background. For this we are using the following code, Could you please 
guide us, are we going in the right direction or doing some mistake.

To start the upnp discovery we are using the following code:

    UPnPDB* db = [[UPnPManager GetInstance] DB];    
    mDevices = [db rootDevices]; //--BasicUPnPDevice
    [mDevices retain];    
    [db addObserver:(UPnPDBObserver*)self];    
    //--Optional; set User Agent
    [[[UPnPManager GetInstance] SSDP] setUserAgentProduct:@"upnpxdemo/1.0" andOS:@"OSX"];    
    //--Search for UPnP Devices 
    [[[UPnPManager GetInstance] SSDP] searchSSDP];


To stop the upnp discovery we are using the following code:

    [[[UPnPManager GetInstance] SSDP] stopSSDP];

Original comment by [email protected] on 7 Sep 2011 at 7:30

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Hi,

The way you use ssdp is just fine, the update methods will be called when 
devices are removed or added from  the network.

You can make the pcap file with Wireshark (http://www.wireshark.org/).

It looks like:
- the camera dont send a "NOTIFY with ssdp:byebye" when swithed off, so the 
stack will only remove it after a timeout.
- the camera don't send a "NOTIFY with ssdp:alive" at startup 

See UPnP specifications, "1.2 Advertisement"


But the wireshark pcap will make things clear, try to capture while doing the 
sequence : switch camera on, start upnpx demo, stop camera, wait until it 
disappears, start camera again and wait until it appears

Send the pcap to my email if you want, I update the ticket when the issue is 
solved/found.

Thanks 

Bruno

Original comment by [email protected] on 7 Sep 2011 at 1:07

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
[deleted comment]

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
[deleted comment]

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
[deleted comment]

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
[deleted comment]

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Could reproduce on device, not on emulator.

Original comment by [email protected] on 13 Sep 2011 at 9:17

  • Changed state: Accepted

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Thanks to report this.

Original comment by [email protected] on 13 Sep 2011 at 10:56

  • Changed state: Fixed
  • Added labels: Type-Defect
  • Removed labels: Type-Other

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Hi, 

We have tested this issue on the new release (Release 1.2.3), it is still there.

What steps will reproduce the problem?
1. Switch on the demo application. Demo app will show all the upnp devices
2. Now switch OFF any upnp device, demo app's upnp list is taking time to 
remove that upnp device which is just switched off.
3. Now again switch On that device. If we test this on iphone simulator it will 
show that device again in the upnp device list after some time(1 to 2 minutes), 
but if we test this on iphone device, demo app will not show that upnp device 
again in the list.
4. If we force quit the demo app & start all over again immediately after 
switching ON the upnp device, that device will get populated in the upnp device 
list(both on simulator & iPhone device).

What is the expected output? What do you see instead?
Demo app should immediately update the list which the upnp device is switched 
ON & OFF both on iphone simulator & device.

What version of the product are you using? On what operating system?
upnpx-1.2.3.tar.gz   upnpx Release 1.2.3   UPnP upnpx

Please provide any additional information below.
Testing the upnpx demo


Original comment by [email protected] on 22 Sep 2011 at 11:49

from upnpx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Do i need to post a fresh issue for this?

Original comment by [email protected] on 23 Sep 2011 at 4:24

from upnpx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.