1. 28 Jun, 2020 4 commits
  2. 05 Jun, 2020 2 commits
  3. 03 Jun, 2020 5 commits
  4. 02 Jun, 2020 1 commit
  5. 01 Jun, 2020 5 commits
  6. 26 May, 2020 8 commits
    • George Nash's avatar
      Document oc_api.h functions · 51be7aba
      George Nash authored
      Updated doxygen.ini to not have a PROJECT_NUMBER in its output
      
      Clean up the already documented functions.
       - removed the un-needed @brief since the doxygen is configured to use auto brief
       - added [in], [out], and [in,out] to the parameters
       - cleaned up some spacing of text so it fit in the 80 characters width
       - added "()" to the function names referenced in the documentation this allows
         doxygen to automatically link to the documentation for that function
       - removed the @c or \c and replaced it with the markdown variant `` for fixed
         width text in the generated documentation
      
      Add documentation for the following functions:
       - oc_new_collection
       - oc_delete_collection
       - oc_new_link
       - oc_delete_link
       - oc_link_add_rel
       - oc_link_add_link_param
       - oc_collection_add_link
       - oc_collection_remove_link
       - oc_collection_get_links
       - oc_add_collection
       - oc_collection_get_collections
       - oc_collection_add_supported_rt
       - oc_collection_add_mandatory_rt
       - oc_set_con_write_cb
       - oc_init_query_iterator
       - oc_iterate_query
       - oc_iterate_query_get_values
       - oc_get_query_value
       - oc_send_response
       - oc_ignore_request
       - oc_indicate_separate_response
       - oc_set_separate_response_buffer
       - oc_send_separate_response
       - oc_notify_observers
       - oc_do_site_local_ipv6_discovery
       - oc_do_site_local_ipv6_discovery_all
       - oc_do_realm_local_ipv6_discovery
       - oc_do_realm_local_ipv6_discovery_all
       - oc_do_ip_discovery
       - oc_do_ip_discovery_all
       - oc_do_ip_discovery_at_endpoint
       - oc_do_ip_discovery_all_at_endpoint
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      51be7aba
    • George Nash's avatar
      Add doxygen documentation to the oc_obt.h header file · 3fa1688c
      George Nash authored
      This adds documentation for the oc_obt.h file itself
      Add documentation for the following functions:
       - oc_obt_init
       - oc_obt_shutdown
       - oc_obt_discover_unowned_devices
       - oc_obt_discover_unowned_devices_realm_local_ipv6
       - oc_obt_discover_unowned_devices_site_local_ipv6
       - oc_obt_discover_owned_devices
       - oc_obt_discover_owned_devices_realm_local_ipv6
       - oc_obt_discover_owned_devices_site_local_ipv6
       - oc_obt_discover_all_resources
      
      Moved the DISCOVERY_CB_PERIOD macro from oc_obt_internal.h to
      oc_obt.h so that value could be used to document how long the
      context pointer must be valid for the discover callback.
      
      Fixed small typo in oc_api.h
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      3fa1688c
    • George Nash's avatar
      Free ACE in provisioning functions on failure · fab7fb88
      George Nash authored
      If the provisioning functions
      - oc_obt_provision_role_wildcard_ace and
      - oc_obt_provision_auth_wildcard_ace
      
      return failure after the ACE is created this will free
      that ACE when the code returns.
      
      An update to the a PRINT in the  obtmain.c code to make it
      easyer to read in the code.
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      fab7fb88
    • Michał Więckowski's avatar
      1325cb2c
    • Michał Więckowski's avatar
      da48ee46
    • Michał Więckowski's avatar
      Implementation of server certification simulator · 0812173c
      Michał Więckowski authored
      This simulator is created for testing against every CTT server testcase
      0812173c
    • farid's avatar
    • farid's avatar
      Updated Readme · 81498c92
      farid authored
      81498c92
  7. 15 May, 2020 2 commits
  8. 08 May, 2020 1 commit
  9. 06 May, 2020 1 commit
  10. 30 Apr, 2020 6 commits
    • George Nash's avatar
      Merge remote-tracking branch 'origin/swig' · 9f66512d
      George Nash authored
      Bring in work that has been done on the swig branch
      
      Expose the OCSoftwareUpdate (oc_swupdate.h) to the Java APIs
      
      Exposed the Endpoint utility functions as member functions of
      of the OCEndpoint class.  Note to prevent breaking things
      already using the OCEndpoint_Util class the functions with the
      same funtionality were not yet deleted.
      
      Adds a java_smart_home_server sample. This is closely modeled
      after the C version of the java_smart_home_server with the
      addition of swupdate added.
      
      Adds channel change sample that conforms to the chanel change specification.
      
      Adds software update to the samples.
      
      Adds introspection to the smart home server sample.
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      9f66512d
    • George Nash's avatar
      e3d587e5
    • George Nash's avatar
      Remove whitespace checker from CI build · fa750538
      George Nash authored
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      fa750538
    • George Nash's avatar
      Walked though all of the Pojects currently built with · 544ada95
      George Nash authored
      Visual Studio and updated the preprocessor defines for each
      project so they all match the iotivity-lite library build.
      
      The CloudServer was using the old OC_IDD_FILE macro that was
      only in the code for a very short while and was eventually
      replaced with OC_IDD_API instead.
      
      Anywhere that _CRT_NONSTDC_NO_WARNINGS was used I instead used
      _CRT_SECURE_NO_DEPRECATE both of the predefine macros should
      have the same effect. In older code (pre-VS2012)the first macro
      was used. In newer code the second macro was used. Since the
      effect should be the same rather than switch to a differnt macro
      for different projects I have chosen to use the newer macro.
      
      Rearanged the order the preprocessor defines are listed in. This
      makes no difference on the build but does make a difference when
      vewing the macros within the Visual Studio. By placing the
      macros that differ between the Debug and Release build last
      makes it possible to see most of the macros even when "All
      Configurations" option is selected in the properties page.
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      544ada95
    • George Nash's avatar
      Add callbacks for ownership status · a0f1d9e1
      George Nash authored
      Add a callback that is invoked when doxm "owned" value is
      changed.
      
      Add an API to query the current ownership status of a device.
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      a0f1d9e1
    • George Nash's avatar
      Add APIs to Java · 492817f0
      George Nash authored
      This exposes oc_endpoint_string_parse_path to Java
      under OCEndpointUtil.endpointStringParsePath
      
      Ignore oc_ri_is_client_cb_valid this function is not
      expected to be used in Java.
      
      With oc_endpoint_string_parse_path exposed to Java we are
      able to update the OCEndpointUtil.stringToEndpoint method so
      it can take only one parameter. Since developers are already
      using the stringToEndpoint method that takes two parameters
      we need to still provide that method.
      
      The stringToEndpoint that takes two parameters has a return
      value in one of the parameters.  Although this works it is
      very unsual in Java to use code this way. Now users can call
      the single parameter version of stringToEndpoint and if they
      need the path from that endpoint they can call
      endpointStringParsePath using the same endpoint string. More
      method call but much closer to what a Java developer would
      expect.
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      492817f0
  11. 28 Apr, 2020 2 commits
  12. 27 Apr, 2020 3 commits