1. 15 Jun, 2018 1 commit
    • Jaehyun Cho's avatar
      Make st regarding logic to library. · 72abe3c1
      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: default avatarJaehyun Cho <jaehyun3.cho@samsung.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/25629Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
      Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
      72abe3c1
  2. 14 Jun, 2018 1 commit
    • Kush's avatar
      Remove unused code · 7bfb8372
      Kush authored
      To decrease binary size , removed dead code which
      is not used in case of st_things.
      
      Added different flags for disabling different features:
      1. ST_MBEDTLS_OPT - For disabling mbedtls library code.
      2. ST_OC_CLIENT_OPT - Disable client code not required.
      3. ST_OC_INTROSPECTION_OPT - Disable introspection resource.
      4. ST_OC_PERIODIC_OPT - Disable perodic property.
      5. ST_OC_CON_RES_OPT - Disable connection resource
      
      -------------------------------
      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)  - Not Working
      
      Change-Id: I09f99ee5545067c32a8d128a0660ac501a4feda7
      Signed-off-by: Kush's avataragrkush <kush.agrawal@samsung.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/25639Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
      Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
      7bfb8372
  3. 11 Jun, 2018 1 commit
  4. 08 Jun, 2018 1 commit
  5. 07 Jun, 2018 1 commit
  6. 04 Jun, 2018 3 commits
  7. 02 Jun, 2018 1 commit
  8. 31 May, 2018 1 commit
  9. 30 May, 2018 2 commits
  10. 29 May, 2018 1 commit
  11. 24 May, 2018 2 commits
  12. 18 May, 2018 1 commit
  13. 15 May, 2018 1 commit
  14. 14 May, 2018 1 commit
  15. 09 May, 2018 2 commits
  16. 08 May, 2018 3 commits
  17. 07 May, 2018 3 commits
    • iot's avatar
      Add Memory Tracer for memory status in details · 52b50586
      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: default avatariot <rami.jung@samsung.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/24569Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
      Reviewed-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
      Tested-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
      52b50586
    • Inho Oh's avatar
      linux: Add build options to pc file · 52fc50b3
      Inho Oh authored
      Current ".PC" files do not include options applied at build time, such
      as OC_SECURITY, OC_IPV4, ... which can cause inconsistency between
      header files and actual libraries when building and running user
      applications.
      
      This patch adds EXTRA_CFLAGS so that the options added at build time
      also apply to pc files.
      
      Change-Id: I12a80be107364c069409c9e121a463506c5192bc
      Signed-off-by: default avatarInho Oh <webispy@gmail.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/25013Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
      Reviewed-by: default avatarAndreas Zisowsky <zisowsky@lynxtechnology.com>
      Reviewed-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
      52fc50b3
    • Andreas Zisowsky's avatar
      Fix patch and compilation of mbedtls · db4c8672
      Andreas Zisowsky authored
      The fix resolves issues when updating an
      already patched version of mbedtls.
      Additionally, source paths were partially not
      resolved by make leading to compile failures.
      Hence, source files contain now the respective
      relative paths.
      Signed-off-by: default avatarAndreas Zisowsky <zisowsky@lynxtechnology.com>
      Change-Id: I63d471c2a99ba7cc81e66fb026e1e4f57f565b65
      Reviewed-on: https://gerrit.iotivity.org/gerrit/25029Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
      Reviewed-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
      Tested-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
      db4c8672
  18. 06 May, 2018 1 commit
  19. 04 May, 2018 1 commit
  20. 02 May, 2018 1 commit
  21. 30 Apr, 2018 5 commits
  22. 27 Apr, 2018 4 commits
  23. 19 Apr, 2018 1 commit
  24. 18 Apr, 2018 1 commit