1. 06 Nov, 2018 3 commits
  2. 05 Nov, 2018 1 commit
  3. 24 Sep, 2018 2 commits
  4. 14 Sep, 2018 4 commits
  5. 13 Sep, 2018 3 commits
  6. 14 Aug, 2018 1 commit
  7. 13 Aug, 2018 4 commits
  8. 09 Aug, 2018 1 commit
    • George Nash's avatar
      Add Unit tests, fixes, and doc for oc_base64 · 956d56a8
      George Nash authored
      This change adds unit test code for oc_base64 code.
      This uses some test vectors (input/output) obtained from RFC-4648
      While testing error conditions I found two errors that were not
      properly handled in the oc_base64_decode.
      - The input is not long enough to be a base64 encoded string.
      - The padding character `=` in not at the end of the encoded string
      Also changes inputs that represent the size of the array to size_t
      instead of int.  Since the return value is also used to detect errors
      I left it as int.
      Doxygen style documentation was added to the encode/decode functions.
      Small modification to the Makefile. It now places the object files
      before the library files. If the Linker scans the library files first
      it may not grab a dependency need for the object files. This does not
      happen if the object files are first. This modification was made
      due to an `undefined reference` error when the base64test code was
      added. This fix also made it possible to remove part of the build
      comand that was repeated. When building the apitest program.
      Change-Id: I15bda772d2a64b48e28f259059b73e4d310f419f
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/26605Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
      Reviewed-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
  9. 06 Aug, 2018 2 commits
  10. 03 Aug, 2018 2 commits
  11. 01 Aug, 2018 2 commits
  12. 26 Jul, 2018 3 commits
  13. 25 Jul, 2018 4 commits
  14. 17 Jul, 2018 4 commits
  15. 11 Jul, 2018 2 commits
  16. 10 Jul, 2018 2 commits
    • Kishen Maloor's avatar
      oc_obt:behavioral improvements to onboarding apis · 6d37094f
      Kishen Maloor authored
      * With a new API to issue multicast requests, modified
        the discover owned/un-owned APIs to actually mutlicast GET
        to /oic/sec/doxm first, followed by a unicast GET to /oic/res
        to responding peers. The request to /oic/res is to obtain the
        full set of endpoints (secure/un-secure, IPv6/v4)
        from the "eps" parameter in the /oic/res response.
        Previously oc_obt would multicast GET to /oic/res first, followed
        by a unicast GET to /oic/sec/doxm. This would result in
        additional traffic on the network where all devices had to
        respond and handle both requests irrespective of their owned status.
        Hence, this change should reduce the overall traffic during OBT
      * oc_obt maintains two caches: for un-owned devices and owned devices.
        Previously these caches and all device objects were freed following
        all oc_obt API calls. This change makes it so devices once
        in the owned device cache would continue to exist over the
        remaining lifetime of the application. Care is taken to ensure that
        subsequent re-discovery of owned devices does not populate duplicates
        to the owned device cache.
      * Devices on the un-owned device cache would continue to exist over
        the remaining lifetime of the application and until they are owned.
        Once owned, they are freed.
      Change-Id: I70831c5989fbbd32ba32710a954827a25000b6c9
      Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/26311Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
    • Kishen Maloor's avatar
      Fix bug when server recvs duplicate observe req · f728fdbd
      Kishen Maloor authored
      Change-Id: Ie6fc0ec0babaea45ca90352207df8794a5fe8468
      Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/26309Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>