Tags: yannS2016/iotivity-constrained
Tags
Add context pointer to role and ping functions The functions oc_assert_role and oc_send_ping both register callback handler functions without adding the void *user_data. C programs may never be expected to use the user_data parameter but when developing language bindings like Java JNI the user_data is used to hold pointer to the Java methods. Without the context pointer language binding becomes much more difficult. Since the oc_response_handler_t already has space for the user_data it is trivial to add the context pointer in this case. Change-Id: I75d8a8260005d78a3f34f2bbf7d04115cc0e97cf Signed-off-by: George Nash <george.nash@intel.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/27844 Tested-by: IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by: Kishen Maloor <kishen.maloor@intel.com>
Reduce complexity of network_event_thread() in order to improve readability and reduce complexity, network_event_thread uses following subfuncions - setting UDP/TCP sockets - receiving UDP/TCP messages Change-Id: Idd4642ca9d83944e008a130b336378b7a6f38c36 Signed-off-by: Rami Jung <rami.jung@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/27529 Tested-by: IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by: Kishen Maloor <kishen.maloor@intel.com>
oc_rep:API to get encoder buffer and payload size Change-Id: Ie2055874ea80bc777e3b84a87fb54366447b3d55 Signed-off-by: Kishen Maloor <kishen.maloor@intel.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/27419 Tested-by: IoTivity Jenkins <jenkins-daemon@iotivity.org>
TizenRT:Updated the latest commit changes fixed the review comments and applying the mbedtls patches added stubbed function for st_wifi_free_scan_list in TizenRT Added the latest commit changes on TizenRT and auto build script for tizenrt. Change-Id: I8fd4c901311c0bbd76854185aa70f558fb069bf3 Signed-off-by: pilli manikanta <p.manikanta@partner.samsung.com> Signed-off-by: Harish Kumara M <h.marappa@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/26729 Reviewed-by: Abhishek Pandey <abhi.siso@samsung.com> Tested-by: IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by: Uze Choi <uzchoi@samsung.com>
TizenRT:Updated the latest commit changes fixed the review comments and applying the mbedtls patches added stubbed function for st_wifi_free_scan_list in TizenRT Added the latest commit changes on TizenRT and auto build script for tizenrt. Change-Id: I8fd4c901311c0bbd76854185aa70f558fb069bf3 Signed-off-by: pilli manikanta <p.manikanta@partner.samsung.com> Signed-off-by: Harish Kumara M <h.marappa@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/26729 Reviewed-by: Abhishek Pandey <abhi.siso@samsung.com> Tested-by: IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by: Uze Choi <uzchoi@samsung.com>
Version: 0.1 Tag: Wireless_Release_050618_v0.1 To Commit: 17b7bb1 From Commit: 6f51f0d Date: 05-06-2018 Major changes: 1. Reducing ROM size a) Refactoring of easysetup module. b) Refactoring of st_app. c) Remove unused features from stack and mbedTLS. 2. Certificate based OTM and cloud TLS connection. Detail: 1. Build option is changed. AUTH_OPTION is MUST be supplied in build arguments with values 0 or 1 or 2. AUTH_OPTION=0 - just works for D2D and Skip cert verification for D2S AUTH_OPTION=1 - MFG cert for D2D and one way authentication of cert for D2S AUTH_OPTION=2 - MFG cert for D2D and mutual authentication of cert for D2S How to test: Linux: 1. cd to port/linux 2. Build stack with application - make EASYSETUP=1 DEBUG=1 DYNAMIC=1 IPV4=1 SECURE=1 AUTH_OPTION=0 3. run application - ./st_things Known Issues: 1. Reset functionality in st_app is not working. 2. st_app is not connected to cloud after restarting it.