#16 NT field contains ssdp:alive

open
Stefano Lenzi
5
2007-12-29
2004-05-03
Anonymous
No

Both NT and NTS field show ssdp:alive. NT field should
contain service type according to the specs I am
reading. For example, in your clock example, printing
the values of in the packet in
deviceNotifyReceived(SSDPPacket ssdpPacket) gives

uuid:uuid:b0da-a0fc-d2d9-e04e::urn:schemas-upnp-org:service:timer:1
target: ssdp:alive <--- should be device type????
subtype: ssdp:alive
location:
http://130.194.57.30:4004/service/timer/description.xml

jan.newmarch@infotech.monash.edu.au

Discussion

  • Logged In: NO

    In org/cybergarage/http/HTTPHeader.java, line 95, is the
    expression
    bigLineHeaderName.startsWith(bigName)
    So "NTS" will match this, as well as "NT", and the line
    containing NTS seems to occur before the line containing NT.
    Should be
    bigLineHeaderName.equals(bigName)

     
  • Stefano Lenzi
    Stefano Lenzi
    2007-12-29

    Logged In: YES
    user_id=901512
    Originator: NO

    I'll check your patches

     
  • Stefano Lenzi
    Stefano Lenzi
    2007-12-29

    • assigned_to: nobody --> kismet-sl