- 15 Jun, 2018 1 commit
-
-
Jaehyun Cho authored
To st_things modules use commonly, it need to make that library. Make st_framework module in service layer, and move st_app modules to there. To make prebuilt library for st-app-fw, use make_prebuilt.py script in tools folder. thil will copy dependency header in prebuilt folder and copy library about st-app-fw(libst-app-framwork.a) Detailed usage can check in make_prebuilt.py script file. Please Add build option ST_APP_FW to build st-app-fw library. ------------------------------- Test Case st_app (out of box) Create Soft-AP : OK Provisioning : OK Controlled by ST android app :OK st_app (setup is done) - OK st_app (with reset) - OK Change-Id: Ie44b7053a69afe9ad230ecde1655f252bdd45ae7 Signed-off-by:
Jaehyun Cho <jaehyun3.cho@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/25629Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com>
-
- 07 Jun, 2018 1 commit
-
-
Jaehyun Cho authored
When OTM is occuring and devowner is changed, otm confirm callback will call and user should confirm this OTM is valid or not. Change-Id: I3f8ca9bc7ce0057325254f59ab2c67efc5996190 Signed-off-by:
Jaehyun Cho <jaehyun3.cho@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/25691Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com>
-
- 29 May, 2018 2 commits
-
-
Jaehyun Cho authored
- resource properties value will treated in app level. - registered cb usint st_register_resource_handler() will all cover about resource get/set logic. - if cb return false, resource manager need to handle rollback making payload.(oc_rep_reset can handle it) Change-Id: I5f8eedec9427d314b4b58b95974e0432aedadb25 Signed-off-by:
Jaehyun Cho <jaehyun3.cho@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/25499Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com>
-
Jaehyun Cho authored
app entry point can be different each port. Change-Id: Iebcb700c4ce4d67e176b391c2bd16c8dfa0af690 Signed-off-by:
Jaehyun Cho <jaehyun3.cho@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/25513Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com>
-
- 27 May, 2018 2 commits
-
-
Jaehyun Cho authored
st_manager is api module for st_app. It has init/deinit st regarding modules and can start/stop modules. Resource handling callback register logic will implemented after this. Change-Id: Ifc880e7b65934c4c367771cd6245ca650dc777b4 Signed-off-by:
Jaehyun Cho <jaehyun3.cho@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/25475Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com> Tested-by:
Uze Choi <uzchoi@samsung.com>
-
Jaehyun Cho authored
Make functions regarding main polling process. init/start/stop/destroy functions. Change-Id: I9ae4f0aad4335cbe2b49e7e4738b2e4cdf6dee6e Signed-off-by:
Jaehyun Cho <jaehyun3.cho@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/25371Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com> Tested-by:
Uze Choi <uzchoi@samsung.com>
-
- 15 May, 2018 1 commit
-
-
iot authored
module/app developers are supposed to ues these api instead of malloc/calloc/realloc/free Change-Id: I08eada363f9e9a236499196978eb59450ce05500 Signed-off-by:
iot <rami.jung@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/25197Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com> Tested-by:
Uze Choi <uzchoi@samsung.com>
-
- 07 May, 2018 2 commits
-
-
Kishen Maloor authored
Change-Id: I2e0d40fe57accc7cc2a104677fd985c3e044a9f5 Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/25055Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org>
-
iot authored
It will help developers to find out memory usuage in bytes to activate : "MEMTRACE=1" ex) make DYNAMIC=1 IPV4=1 DEBUG=1 SECURE=0 MEMTRACE=1 to deactivate : "MEMTRACE=0" ex) make DYNAMIC=1 IPV4=1 DEBUG=1 SECURE=0 MEMTRACE=0 omitting "MEMTRACE" brings a same result. ex) make DYNAMIC=1 IPV4=1 DEBUG=1 SECURE=0 If it is applied, you can see the tracing information automatically when app is closed. It is not perfect yet since it is first upload current known issues - all alloc/free functions are not traced yet ================================================================ No. Func Address Size Req Cur Peak ---------------------------------------------------------------- 1 oc_store_uri 0x1c4ac30 7 Alloc 7 7 2 oc_core_populate_resource 0x1c4aca0 128 Alloc 135 135 3 oc_core_init_platform 0x1c4ad80 6 Alloc 141 141 4 oc_store_uri 0x1c4adf0 7 Alloc 148 148 5 oc_core_populate_resource 0x1c4ae60 256 Alloc 404 404 6 oc_core_add_new_device 0x1c4afc0 16 Alloc 420 420 7 oc_core_add_new_device 0x1c4b030 10 Alloc 430 430 8 oc_core_add_new_device 0x1c4b0a0 14 Alloc 444 444 9 oc_store_uri 0x1c4b110 8 Alloc 452 452 10 oc_core_populate_resource 0x1c4b180 128 Alloc 580 580 11 oc_store_uri 0x1c4b260 9 Alloc 589 589 12 oc_core_populate_resource 0x1c4b2d0 128 Alloc 717 717 13 oc_store_uri 0x1c4b3b0 21 Alloc 738 738 14 oc_core_populate_resource 0x1c4b420 128 Alloc 866 866 15 oc_store_uri 0x1c4b500 18 Alloc 884 884 16 oc_core_populate_resource 0x1c4b570 128 Alloc 1012 1012 17 oc_concat_strings 0x1c4b9b0 14 Alloc 1026 1026 18 oc_ri_alloc_client_cb 0x1c4baa0 9 Alloc 1035 1035 19 oc_ri_alloc_client_cb 0x1c4bb10 14 Alloc 1049 1049 20 oc_ri_alloc_client_cb 0x1c4c570 9 Alloc 1058 1058 21 oc_ri_alloc_client_cb 0x1c4c590 14 Alloc 1072 1072 22 oc_do_ip_discovery 0x1c4b9b0 14 Free 1058 1072 23 oc_blockwise_init_buffer 0x1c4b9b0 8 Alloc 1066 1072 24 coap_receive 0x1c4c7f0 14 Alloc 1080 1080 25 oc_concat_strings 0x1c4c860 43 Alloc 1123 1123 26 process_device_resources 0x1c4c860 43 Free 1080 1123 27 oc_blockwise_free_buffer 0x1c4c7f0 14 Free 1066 1123 Change-Id: I2be148bcdc698f69752346a272d66323b9b9063e Signed-off-by:
iot <rami.jung@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/24569Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Kishen Maloor <kishen.maloor@intel.com> Tested-by:
Kishen Maloor <kishen.maloor@intel.com>
-
- 30 Apr, 2018 1 commit
-
-
Philippe Coval authored
Code has been simplified from linux port, more cleanup can be done. To avoid unexpected behaviour, unimplemented functions will abort by default. Refactoring is always possible, files in './port/tizenrt/' can be replaced. Security is not enabled for initial porting effort. Bug: https://jira.iotivity.org/browse/LITE-4 Change-Id: I7a5b81c93327d5f0aa5faff9e16ce56cc69168fb Origin: https://gerrit.iotivity.org/gerrit/#/c/24713/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/24899Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com> (cherry picked from commit 9882a7f1) Reviewed-on: https://gerrit.iotivity.org/gerrit/24713Reviewed-by:
Mats Wichmann <mats@linux.com> Reviewed-by:
Ziran Sun <ziran.sun@samsung.com> Reviewed-by:
Kishen Maloor <kishen.maloor@intel.com>
-
- 27 Apr, 2018 1 commit
-
-
Kishen Maloor authored
* Refactored few internal functions and modified the TCP session cleanup procedure. * Dispatch a CONNECTED event for plain TCP sessions and a DISCONNECTED event for all other cases when the session object is freed. * Added a per logical device mutex to synchronize between send/receive/end_session calls to avoid a race between the stack’s worker thread and the network thread. * Implemented oc_connectivity_end_session() interface in the IP adapter. Change-Id: Icc875bc63d3ffb90e6ab971835e77f41798dbd32 Signed-off-by:
Kishen Maloor <kishen.maloor@intel.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/24947
-
- 09 Apr, 2018 1 commit
-
-
Jaehyun Cho authored
Change-Id: Iccaed9f70cdeaeb0f6fb680a920ad4b5e59a822f Signed-off-by:
Jaehyun Cho <jaehyun3.cho@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/24545Tested-by:
IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by:
Kishen Maloor <kishen.maloor@intel.com> Tested-by:
Kishen Maloor <kishen.maloor@intel.com>
-