1. 14 Jan, 2020 1 commit
  2. 10 Jan, 2020 6 commits
  3. 08 Jan, 2020 3 commits
  4. 07 Jan, 2020 3 commits
    • George Nash's avatar
      Windows, build swig interfac oc_connectivity.i on debug · 9cee3c5e
      George Nash authored
      Due to a configuration issue the build was only building
      oc_connectivity.i when the release build option was selected
      This change will cause oc_connectivity.i to be built for both
      release and debug build.
      Additionally oc_connectivity_wrap.c was also added to the build
      of the iotivity-lite-jni project with out adding that none of
      the OCConnectivity functions can be called from Java without
      causing a library link error.
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
    • George Nash's avatar
      String to endpoint fix parse error if uri is NULL · 9d101d12
      George Nash authored
      The start of the uri path must still be calculated even if uri is
      NULL (i.e. user is not interested in parsing the path component of
      the endpoint). This must be calculated since this value is used
      in later calculations for finding the port number.
      See lines 421-425 the `u` variable must be calculated for the code
      to properly calculate `p`. Variable `p` must be accurate or the
      address_len will be incorrect resulting in an incorrect string
      being sent for DNS lookup. Resulting in an error even for valid
      endpoint strings.
      With out this fix:
      `coap://openconnectivity.org/alpha` and
      `coaps+tcp://` would both return errors
      when the uri param was NULL.
      With this fix those endpoint strings are properly parsed.
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
    • Kishen Maloor's avatar
      Revert "Merge branch 'master' into 'master'" · d2546a95
      Kishen Maloor authored
      This reverts merge request !2
  5. 06 Jan, 2020 3 commits
  6. 20 Dec, 2019 1 commit
  7. 03 Dec, 2019 1 commit
  8. 26 Nov, 2019 1 commit
  9. 25 Nov, 2019 5 commits
    • Kishen Maloor's avatar
      oc_collection:srvrs bind to oic.if.create if used · ba3db707
      Kishen Maloor authored
      Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
      Change-Id: I595c61059cdbdfaf1847bea6d6d21fbb47fe3a39
    • George Nash's avatar
      Merge 'origin/swig' in 'master' · 85063f40
      George Nash authored
      This merge brings the work done on the swig branch to master.
      The swig branch used a tool SWIG (Simple Wrapper and Interface
      Generator) to help generate Java/JNI language bindings for the
      IoTivity-lite APIs.
      This enables writing and running Java applications.
      The primary target for this work is for Android app developers.
      It is not limited only to Android app developers.  This also
      opens up Java development on Windows and Linux platforms.
      We have tried really hard to make few changes to the existing C
      code base. There are a few modifications to the existing C code.
      Most of the time it is a minor white space difference or giving
      a name to a typedef struct so the struct can be found by the
      swig interface files.
      Notable exceptions:
        - logging code updated to log to android logcat when built for
        - android STORE_PATH_SIZE changed from 64 to 128 to handle the
          longer path names encountered using Android.
        - Updates to android oc_config.h based on testing
        - make files and windows build updated to add ability to
          Generate and build JNI code.
        - Some build warnings resolved on the swig branch that
          probably should have been resolved on master brach.
      Another Notable exception to changes to master are the updates
      to the root level README.rst file to include instructions for
      onboarding and added contact information.
      The swig/README.md file is provided to instruct how to build and
      use the code added in this commit.
      If Android is the primary target a much simpler README is
      provided for Android developers that targets only Android. See
      Change-Id: I273ee181d8b07ff8f2f89d5028fdaae3e280b848
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
    • George Nash's avatar
      Clear the jni_callbacks list on shutdown · ec911818
      George Nash authored
      This will release all global refs held in the jni_callbacks
      Change-Id: Ia35e99aa8fbdc9e3d47360b5bb59c2d4872d69fd
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
    • George Nash's avatar
      Join Threads on shutdown · 4dfefbae
      George Nash authored
      Change-Id: I96ea6205274a4003d2486232f6f2298b2a2064cc
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
    • Larry Sachs's avatar
      Reset deviceIndex in systemShutdown() · 0384867d
      Larry Sachs authored
      On a systemShutdown() call the deviceIndex is set to zero and
      the deviceIndexLookup Map is cleared.
      Change-Id: I7d0607ad7bafe3933b6b038c5dcc09c458a7aa5f
      Signed-off-by: Larry Sachs's avatarLarry Sachs <larry.j.sachs@intel.com>
  10. 22 Nov, 2019 4 commits
  11. 21 Nov, 2019 10 commits
  12. 20 Nov, 2019 2 commits