1. 22 Jan, 2020 4 commits
  2. 21 Jan, 2020 3 commits
  3. 16 Jan, 2020 1 commit
  4. 15 Jan, 2020 3 commits
  5. 14 Jan, 2020 2 commits
  6. 10 Jan, 2020 6 commits
  7. 08 Jan, 2020 4 commits
  8. 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>
      9cee3c5e
    • 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://10.211.55.3/a/light` 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>
      9d101d12
    • Kishen Maloor's avatar
      Revert "Merge branch 'master' into 'master'" · d2546a95
      Kishen Maloor authored
      This reverts merge request !2
      d2546a95
  9. 06 Jan, 2020 3 commits
  10. 20 Dec, 2019 1 commit
  11. 03 Dec, 2019 3 commits
  12. 26 Nov, 2019 4 commits
  13. 25 Nov, 2019 3 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
      ba3db707
    • 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
        - 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
      port/android/README.md
      
      Change-Id: I273ee181d8b07ff8f2f89d5028fdaae3e280b848
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      85063f40
    • 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
      list.
      
      Change-Id: Ia35e99aa8fbdc9e3d47360b5bb59c2d4872d69fd
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      ec911818