Uploaded image for project: 'IoTivity'
  1. IoTivity
  2. IOT-1237

Client discovers all resources sending discovery request with "rt" query param.

    XMLWordPrintable

    Details

    • Found in Version/s:
      master branch (commit hash: 7ac769faf9b8b27034e89bca505b50d81289d9c3)
    • Operating System:
      Ubuntu
    • Issue Severity:
      Major
    • Reproducibility:
      Always (100%)

      Description

      I have changed the simple client to discover for resources of type "core.light", but it is able to discover all well known resources along with light resource.

      Build command:
      scons WITH_TCP=yes WITH_CLOUD=yes RELEASE=0

      Precondition:
      1. Modify resource/examples/simpleclient.cpp to discovery for only resources of type "core.light"
      2. Test pc should have both connected interface LAN and WAN.

      Reproduction steps:
      1. Start simpleserver application.
      2. Start simpleclient application.
      3. Observe the discovered resources at simpleclient application side.

      Actual output:
      simpleclient able to discover all resources which are not having "core.light" as resource type.

      Expected output:
      simpleclient should discovery resources having resource type "core.light"

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              h.marappa Harish Marappa
              Reporter:
              h.marappa Harish Marappa
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: