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. 30 May, 2018 1 commit
  3. 29 May, 2018 1 commit
  4. 28 May, 2018 1 commit
  5. 27 May, 2018 2 commits
  6. 15 May, 2018 1 commit
  7. 07 May, 2018 2 commits
    • Kishen Maloor's avatar
      oc_mem_trace cleanup · 13ca0a7a
      Kishen Maloor authored
      Change-Id: I2e0d40fe57accc7cc2a104677fd985c3e044a9f5
      Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/25055Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
      13ca0a7a
    • 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
  8. 30 Apr, 2018 1 commit
  9. 27 Apr, 2018 1 commit
    • Kishen Maloor's avatar
      Update Linux TCP adapter · abad3691
      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's avatarKishen Maloor <kishen.maloor@intel.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/24947
      abad3691
  10. 09 Apr, 2018 1 commit