1. 18 Oct, 2017 2 commits
    • Abhishek Pandey's avatar
      Enable self link in collections · 8c557210
      Abhishek Pandey authored
      JIRA IOT-2742 https://jira.iotivity.org/browse/IOT-2742
      
      - Enabled support for self link in collections.
      - API OCLinksPayloadArrayCreate() modified to allow self links.
      - New parameter (bool) in the API now allows to have a self link with
        "rel":["self", "item"], in links array as per OCF Core Spec.
      
      Change-Id: I1f2e02dd33c993dc4b28fbc447b8d286c1f7f804
      Signed-off-by: default avatarAbhishek Pandey <abhi.siso@samsung.com>
      8c557210
    • Ankur Bansal's avatar
      [EasySetup] Fix links in baseline & ll response · dad17f20
      Ankur Bansal authored
      Update oic.r.easysetup baseline and link list response to correctly fill
      links property.
      Use OCLinksPayloadArrayCreate API to create the links payload for batch
      & link list interface. OCLinksPayloadArrayCreate API internally takes
      care of creating the most part of payload based on the properties of the
      resource. This will replace the logic of creating each property of links
      payload for each of the easy setup resources from the code.
      In link list interface response, add handling for both OCF & OIC
      response (for backward compatibility).
      
      Bug:https://jira.iotivity.org/browse/IOT-2711
      
      Change-Id: I46ca2e2d635cb78e8c7fc7c5ef95d9e16327abb9
      Signed-off-by: default avatarAnkur Bansal <ankur.b1@samsung.com>
      (cherry picked from commit 787a73bd)
      dad17f20
  2. 17 Oct, 2017 1 commit
  3. 13 Oct, 2017 2 commits
  4. 18 Sep, 2017 1 commit
  5. 15 Sep, 2017 1 commit
  6. 13 Sep, 2017 2 commits
    • Ankur Bansal's avatar
      [IOT-2628][EasySetup]Add new prop. swat,swet · 5617a85d
      Ankur Bansal authored
      Add new mandatory properties to oic.r.wificonf
      - swat: Enrollee's supported Wi-Fi Authentication Types
      - swet: Enrollee's supported Wi-Fi Encryption Types
      - Update Enrollee sample apps (Linux and Tizen).
      
      Note: This impacts Easy Setup Enrollee API "ESSetDeviceProperty".
      
      Change-Id: Ic765671dfbe3a4e1c8a857ef6ae1d3dcb9ba783e
      Signed-off-by: default avatarAnkur Bansal <ankur.b1@samsung.com>
      5617a85d
    • Ankur Bansal's avatar
      [IOT-2628][EasySetup]Update WifiConf prop. types · 132838c4
      Ankur Bansal authored
      - Change properties from integer to string enums: swmt, swf, wat, wet
      - Change supported frequencies from single value to array.
      - Create type converters for enum to string and string to enum.
      - Remove EOF marker in enum WIFI_MODE.
      - Update Enrollee sample apps (Linux and Tizen).
      - Cleanup some unused code in easysetup.c.
      - Fixed unit test cases for Enrollee and Mediator.
      
      Note: This impacts Easy Setup Enrollee API "ESSetDeviceProperty".
      
      Thanks-To: Abhishek Pandey <abhi.siso@samsung.com>
      Change-Id: Iea8191616cea89a0273e0f5486bd259735e914fa
      Signed-off-by: default avatarAbhishek Pandey <abhi.siso@samsung.com>
      Signed-off-by: default avatarAnkur Bansal <ankur.b1@samsung.com>
      132838c4
  7. 07 Sep, 2017 1 commit
  8. 31 Jul, 2017 1 commit
  9. 06 Jun, 2017 1 commit
  10. 20 May, 2017 1 commit
  11. 17 Apr, 2017 1 commit
  12. 31 Mar, 2017 1 commit
  13. 25 Mar, 2017 1 commit
  14. 09 Mar, 2017 1 commit
  15. 24 Feb, 2017 1 commit
  16. 20 Feb, 2017 1 commit
  17. 16 Feb, 2017 2 commits
  18. 23 Jan, 2017 1 commit
  19. 09 Jan, 2017 1 commit
  20. 30 Dec, 2016 1 commit
  21. 15 Dec, 2016 1 commit
  22. 07 Dec, 2016 1 commit
  23. 06 Dec, 2016 1 commit
    • Parkhi's avatar
      Update a payload format to be compatible to OIC spec in easysetup · cb323a1b
      Parkhi authored
      1. In a response for get/post request with batch interface,
         "rep" keyword should be included for containing child resource's properties
         for each child resource.
      2. Provisioning resource is a collection resource so it should have
         a "oic.wk.col" resource type.
      3. "links" property for baseline and linklist interfaces should include a
         "p"(i.e. policy) property.
      
      e.g. response for baseline:
      {
        "rt":[
          "oic.wk.prov",
          "oic.wk.col"
        ],
        "if":[
          "oic.if.baseline",
          "oic.if.ll",
          "oic.if.b"
        ],
        "ps":0,
        "lec":0,
        "links":[
          {
            "href":"/WiFiProvisioningResURI",
            "rt":[
              "oic.wk.wifi"
            ],
            "if":[
              "oic.if.baseline"
            ],
            "p":{
              "bm":3
            }
          },
          {
            "href":"/DevConfProvisioningResURI",
            "rt":[
              "oic.wk.devconf"
            ],
            "if":[
              "oic.if.baseline"
            ],
            "p":{
              "bm":3
            }
          },
          {
            "href":"/CloudServerProvisioningResURI",
            "rt":[
              "oic.wk.cloudserver"
            ],
            "if":[
              "oic.if.baseline"
            ],
            "p":{
              "bm":3
            }
          }
        ]
      }
      
      e.g. response for linklist:
      {
        "links":[
          {
            "href":"/WiFiProvisioningResURI",
            "rt":[
              "oic.wk.wifi"
            ],
            "if":[
              "oic.if.baseline"
            ],
            "p":{
              "bm":3
            }
          },
          {
            "href":"/DevConfProvisioningResURI",
            "rt":[
              "oic.wk.devconf"
            ],
            "if":[
              "oic.if.baseline"
            ],
            "p":{
              "bm":3
            }
          },
          {
            "href":"/CloudServerProvisioningResURI",
            "rt":[
              "oic.wk.cloudserver"
            ],
            "if":[
              "oic.if.baseline"
            ],
            "p":{
              "bm":3
            }
          }
        ]
      }
      
      e.g. response for batch:
      [
        {
          "href":"/ProvisioningResURI",
          "rep":{
            "if":[
              "oic.if.baseline",
              "oic.if.ll",
              "oic.if.b"
            ],
            "rt":[
              "oic.wk.prov",
              "oic.wk.col"
            ],
            "ps":0,
            "lec":0
          }
        },
        {
          "href":"/WiFiProvisioningResURI",
          "rep":{
            "if":[
              "oic.if.baseline"
            ],
            "rt":[
              "oic.wk.wifi"
            ],
            "swmt":[
              2,
              3,
              4
            ],
            "swf":1,
            "tnn":"",
            "cd":"",
            "wat":0,
            "wet":0
          }
        },
        {
          "href":"/CloudServerProvisioningResURI",
          "rep":{
            "if":[
              "oic.if.baseline"
            ],
            "rt":[
              "oic.wk.cloudserver"
            ],
            "ac":"",
            "apn":"",
            "cis":""
          }
        },
        {
          "href":"/DevConfProvisioningResURI",
          "rep":{
            "if":[
              "oic.if.baseline"
            ],
            "rt":[
              "oic.wk.devconf"
            ],
            "dn":"Test Device",
            "mnmo":"Test Model Number",
            "loc":"",
            "lang":"",
            "ctry":""
          }
        }
      
      ]
      
      Change-Id: I13ccda6fedb7c628dc77cc13e84c1c10c0e1b487
      Signed-off-by: default avatarJihun Ha <jihun.ha@samsung.com>
      Signed-off-by: default avatarParkhi <h_w.park@samsung.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/14855Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
      Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
      (cherry picked from commit e1409c4b)
      Reviewed-on: https://gerrit.iotivity.org/gerrit/15139
      cb323a1b
  24. 05 Dec, 2016 1 commit
  25. 17 Oct, 2016 2 commits
  26. 14 Oct, 2016 1 commit
  27. 13 Oct, 2016 1 commit
  28. 11 Oct, 2016 1 commit
  29. 28 Sep, 2016 1 commit
  30. 01 Sep, 2016 1 commit
  31. 31 Aug, 2016 1 commit
  32. 25 Aug, 2016 1 commit
  33. 24 Aug, 2016 1 commit
  34. 19 Aug, 2016 1 commit
  35. 17 Aug, 2016 1 commit