- 06 Jun, 2020 2 commits
-
-
Kishen Maloor authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
Kishen Maloor authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
- 05 Jun, 2020 2 commits
-
-
Kishen Maloor authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
Kishen Maloor authored
While the new APIs allow applications to send/receive raw payloads of a specified content type from/to Servers/Clients, the stack is currently lacking the following functionalities: -Ability to transport raw payloads of a large size in a block-wise transfer. -Ability to send raw payloads in asynchronous notifications. -Ability to send raw payloads in separate responses. -Ability to issue requests eliciting responses of a specific content type (i.e. besides the default, CBOR). Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
- 03 Jun, 2020 5 commits
-
-
Jozef Kralik authored
apps/cloud_certification_tests.c:347:40: error: ‘%s’ directive writing up to 255 bytes into a region of size 245 [-Werror=format-overflow=] 347 | sprintf(endpoint_string, "coap+tcp://%s", addr)
-
Jozef Kralik authored
-
Jozef Kralik authored
Allows user to publish/unpublish the swich resource from a cloud and user can configure the cloud resource from commandline.
-
Jozef Kralik authored
When a resource was published to cloud it must be moved to published resources because otherwise unpublish functionality doesn't find it.
-
yzg authored
if the next timer is deleted by current timer's callback function, the timer list is broken.
-
- 02 Jun, 2020 1 commit
-
-
Larry Sachs authored
Signed-off-by:
Larry Sachs <larry.j.sachs@intel.com>
-
- 01 Jun, 2020 5 commits
-
-
Kishen Maloor authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
Clarke Stevens authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
Clarke Stevens authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
Kishen Maloor authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
Yann Stephen Mandza authored
The port target the arduino AVR (Mega2560) and ARM architectures. Mostly arduino SAMD(arduino MKRZERO). However, any SAMD board should work as well as the arduino Due. The ipadapter for network connectivity uses Wiznet w5500 based shield( thus only IPV4 Ethernet is supported as yet),required arduino C++ libraries were adapted by providing C wrappers. A FAT32 SD card is used to provide pesistant storage for security build. Note: iotivility lite stack have shown heavy for the AVR architecture. Thus the port allows the use of external memory SRAM (up to 56KBytes). Bug: https://github.com/yannS2016/iotivity-constrained-arduino/issuesSigned-off-by:
Yann Stephen Mandza <yann@tlabs.ac.za>
-
- 26 May, 2020 8 commits
-
-
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 <george.nash@intel.com>
-
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 <george.nash@intel.com>
-
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 <george.nash@intel.com>
-
Michał Więckowski authored
-
Michał Więckowski authored
-
Michał Więckowski authored
This simulator is created for testing against every CTT server testcase
-
farid authored
https://gitlab.iotivity.org/iotivity/iotivity-lite/-/merge_requests/124Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
farid authored
-
- 15 May, 2020 2 commits
-
-
George Nash authored
Signed-off-by:
George Nash <george.nash@intel.com>
-
Michał Więckowski authored
-
- 08 May, 2020 1 commit
-
-
Michał Więckowski authored
-
- 06 May, 2020 1 commit
-
-
farid authored
Added other build abi for Android. Now to build properly the android libraries, use make NDK_HOME=~/Android/ndk/android-x86_64-27/ ANDROID_API=27 ANDROID_ABI=x86_64 for example, or armeabi or arm64-v8a
-
- 30 Apr, 2020 6 commits
-
-
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 <george.nash@intel.com>
-
George Nash authored
-
George Nash authored
Signed-off-by:
George Nash <george.nash@intel.com>
-
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 <george.nash@intel.com>
-
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 <george.nash@intel.com>
-
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 <george.nash@intel.com>
-
- 28 Apr, 2020 2 commits
-
-
George Nash authored
Signed-off-by:
George Nash <george.nash@intel.com>
-
George Nash authored
When the project was moved from gerrit and jenkens there were locations in the README files that the new paths were not updated. This change updates those URLs. Also improves a few other locations in the text. Signed-off-by:
George Nash <george.nash@intel.com>
-
- 27 Apr, 2020 5 commits
-
-
Kishen Maloor authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
Kishen Maloor authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
George Nash authored
Exposed oc_cps_t enum as OCCloudProvisioningStatus. Removed the `OC_CPS_` prefix from the enums when exposed to Java. The OCDiscoveryAllHandler typemap was moved from oc_api.i to the iotivity.swg file so it can be picked up in oc_cloud.i oc_api.i, and oc_obt.i files. Had to move the typemap instead of importing oc_api.i to avoid name conflicts. The oc_cloud_discover_resources was exposed as OCCloud.discoverResources. Signed-off-by:
George Nash <george.nash@intel.com>
-
Kishen Maloor authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-
Kishen Maloor authored
Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com>
-