platform/core/api/thread.git
2 years agoRemove unnecessary check logic 07/272907/1
Wootak Jung [Fri, 25 Mar 2022 06:01:15 +0000 (15:01 +0900)]
Remove unnecessary check logic

Change-Id: Ifde619efbe832bc38e300d8c1093a9dbcdb553c3
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd test cases for panid related function 06/272906/1
Wootak Jung [Fri, 25 Mar 2022 05:29:27 +0000 (14:29 +0900)]
Add test cases for panid related function

Change-Id: If14ff40946bfb91d73fba8a39ce54d81b79152cc
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd joiner test case for joiner start 05/272905/1
hyunuk.tak [Fri, 25 Mar 2022 05:30:22 +0000 (14:30 +0900)]
Add joiner test case for joiner start

Change-Id: If16289acf415effc8fc6932d1857436e8e84ab33
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd new API to get the panid from operational network 04/272904/1
Wootak Jung [Fri, 25 Mar 2022 02:18:46 +0000 (11:18 +0900)]
Add new API to get the panid from operational network

Change-Id: I658dfd3d29753b0c24024b74b172398b8ac4e54a
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoModify a definition for dummy tlvs size 03/272903/1
hyunuk.tak [Fri, 25 Mar 2022 04:48:16 +0000 (13:48 +0900)]
Modify a definition for dummy tlvs size

Change-Id: Iea95c8ce2b1735502100349c6dc264e866ba7e1b
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd to clean up after used API for network 02/272902/1
hyunuk.tak [Fri, 25 Mar 2022 03:08:44 +0000 (12:08 +0900)]
Add to clean up after used API for network

Change-Id: I4611290c7804c11a264195e7f527cddc5cbb40f1
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd to free a memory for tlvs_buffer 01/272901/1
hyunuk.tak [Fri, 25 Mar 2022 03:01:32 +0000 (12:01 +0900)]
Add to free a memory for tlvs_buffer

Change-Id: Ia6fce11917cf66af944ba1a7124a8229e2965730
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd network test case for removing ip address 00/272900/1
hyunuk.tak [Thu, 24 Mar 2022 07:49:21 +0000 (16:49 +0900)]
Add network test case for removing ip address

Change-Id: I992cdb04bebd9cfcf4bb0ba56cd570535a35ae9a
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd network test case for adding ip address 99/272899/1
hyunuk.tak [Thu, 24 Mar 2022 07:46:48 +0000 (16:46 +0900)]
Add network test case for adding ip address

Change-Id: Id48b6097ed634bb3df7767e57f47f60fcb5ba6f6
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd network test case for getting ip address 98/272898/1
hyunuk.tak [Thu, 24 Mar 2022 07:32:36 +0000 (16:32 +0900)]
Add network test case for getting ip address

Change-Id: Ia6abac5b085ad8565649b8978110ee9c76b5f0be
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd network test case for detach 97/272897/1
hyunuk.tak [Thu, 24 Mar 2022 07:20:00 +0000 (16:20 +0900)]
Add network test case for detach

Change-Id: I5cc236639d25ce5fa83af3278ca0d35de72a6105
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd network test case for attach 96/272896/1
hyunuk.tak [Thu, 24 Mar 2022 06:47:56 +0000 (15:47 +0900)]
Add network test case for attach

Change-Id: I6110037299905da00aa71372b875ea7383f251f3
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd network test case for getting active dataset tlvs 95/272895/1
hyunuk.tak [Thu, 24 Mar 2022 06:15:46 +0000 (15:15 +0900)]
Add network test case for getting active dataset tlvs

Change-Id: I8b7be34ddfcde849f13244c6b3c4902c543baa1e
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd network test case for setting active dataset tlvs 94/272894/1
hyunuk.tak [Thu, 24 Mar 2022 06:05:04 +0000 (15:05 +0900)]
Add network test case for setting active dataset tlvs

Change-Id: I4fdbfbc8f026af4ff5944406bade321920eab956
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd network test case for destroying operational network 93/272893/1
hyunuk.tak [Thu, 24 Mar 2022 04:21:13 +0000 (13:21 +0900)]
Add network test case for destroying operational network

Change-Id: I5072948edea7a9afeaf3cf06591eb0b595c0ddfa
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd network test case for creating operational network 92/272892/1
hyunuk.tak [Thu, 24 Mar 2022 04:05:06 +0000 (13:05 +0900)]
Add network test case for creating operational network

Change-Id: I52de2d10b0ca977f53419a6eee8a6f3a4b362415
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoMove scan callback function to member 91/272891/1
hyunuk.tak [Thu, 24 Mar 2022 03:40:09 +0000 (12:40 +0900)]
Move scan callback function to member

Change-Id: Ia43dcc861ab39e5f79b4ba4f605ed6cebbbecab6
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoRelease timeout resource appropriately 90/272890/1
hyunuk.tak [Wed, 23 Mar 2022 08:59:26 +0000 (17:59 +0900)]
Release timeout resource appropriately

Change-Id: I4b32aa7e51f6c50649439e9c69980b7296718ebd
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for getting extended address 89/272889/1
hyunuk.tak [Wed, 23 Mar 2022 06:35:01 +0000 (15:35 +0900)]
Add core test case for getting extended address

Change-Id: Ic3dadc496378ea36b598e9bac639cea97aed1033
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for scan 88/272888/1
hyunuk.tak [Wed, 23 Mar 2022 06:18:14 +0000 (15:18 +0900)]
Add core test case for scan

Change-Id: I22aeb57052fabf469fa78dee72fc5e5d04faf79a
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for scan param destroy 87/272887/1
hyunuk.tak [Tue, 22 Mar 2022 06:11:05 +0000 (15:11 +0900)]
Add core test case for scan param destroy

Change-Id: I2fb9d4c43c26a4f6ee669e6f0b7ecf8dbef1980b
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for scan param create 86/272886/1
hyunuk.tak [Tue, 22 Mar 2022 06:07:20 +0000 (15:07 +0900)]
Add core test case for scan param create

Change-Id: I7c484c2262a1f731f5b17646f3dac4b2981d3916
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for getting device type 85/272885/1
hyunuk.tak [Tue, 22 Mar 2022 06:00:23 +0000 (15:00 +0900)]
Add core test case for getting device type

Change-Id: I79ad30b08e174ed55cc642b50dcfcdfe6be86fb9
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for setting device type 84/272884/1
hyunuk.tak [Tue, 22 Mar 2022 05:37:45 +0000 (14:37 +0900)]
Add core test case for setting device type

Change-Id: Ic041a9ad82c8e5bcc909f4ddf775e55367c2cd6d
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for setting device role changed callback 83/272883/1
hyunuk.tak [Tue, 22 Mar 2022 04:54:33 +0000 (13:54 +0900)]
Add core test case for setting device role changed callback

Change-Id: Ifc14e36f8fdfa3a9102f8c1965c8e993f54cf79d
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for getting device role property 82/272882/1
hyunuk.tak [Tue, 22 Mar 2022 04:44:52 +0000 (13:44 +0900)]
Add core test case for getting device role property

Change-Id: I78c544c81edcd16a7d617faa570b0abaeaf28b49
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for factoryreset 81/272881/1
hyunuk.tak [Tue, 22 Mar 2022 03:54:09 +0000 (12:54 +0900)]
Add core test case for factoryreset

Change-Id: I568adb7440e9dc062de1dea0b5c8e3f6fc3d0002
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for reset 80/272880/1
hyunuk.tak [Tue, 22 Mar 2022 03:53:27 +0000 (12:53 +0900)]
Add core test case for reset

Change-Id: I49830c414098c2cbe24c4007cbe507e180e95d58
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for stop 79/272879/1
hyunuk.tak [Tue, 22 Mar 2022 03:52:06 +0000 (12:52 +0900)]
Add core test case for stop

Change-Id: I7d747ae3af88e4231fff816c93072d3c5f305a94
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for start 78/272878/1
hyunuk.tak [Tue, 22 Mar 2022 03:51:40 +0000 (12:51 +0900)]
Add core test case for start

Change-Id: I2e4ca31ddbbb4450cfd31f672a9857a8df034e0f
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for disable 77/272877/1
hyunuk.tak [Tue, 22 Mar 2022 03:51:12 +0000 (12:51 +0900)]
Add core test case for disable

Change-Id: I0941fc6d74a80041f4141d5c108ac679289b97e1
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd core test case for enable 76/272876/1
hyunuk.tak [Tue, 22 Mar 2022 03:50:27 +0000 (12:50 +0900)]
Add core test case for enable

Change-Id: I33f535aa291eafc018626e42c140ff4070a1f2d1
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd defense code for null param 75/272875/1
hyunuk.tak [Mon, 21 Mar 2022 06:28:54 +0000 (15:28 +0900)]
Add defense code for null param

Change-Id: I1b2d4584862f88c50295fac18c6c996b24491958
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoReplace g_objext_new with dummy value 74/272874/1
hyunuk.tak [Mon, 21 Mar 2022 04:45:01 +0000 (13:45 +0900)]
Replace g_objext_new with dummy value

Change-Id: I8639e8695cba470a166fc363f4c1176e786023a5
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoRemove unnecessary mock code for socket 73/272873/1
hyunuk.tak [Mon, 21 Mar 2022 03:22:33 +0000 (12:22 +0900)]
Remove unnecessary mock code for socket

Change-Id: I561e26409c4d8475911fc1d8301c68a711eea6b4
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoAdd missing flags 72/272872/1
hyunuk.tak [Mon, 21 Mar 2022 02:48:45 +0000 (11:48 +0900)]
Add missing flags

Change-Id: Icaa2d7cb37cdb8c1805cd978b4e5ffda78a29740
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoInitial thread unittest codes 71/272871/1
hyunuk.tak [Fri, 18 Mar 2022 06:24:26 +0000 (15:24 +0900)]
Initial thread unittest codes

Change-Id: Id88de3baf2d2c874da4c62b3bea05809382179de
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoMove test files to thread-test folder 70/272870/1
hyunuk.tak [Fri, 18 Mar 2022 06:20:50 +0000 (15:20 +0900)]
Move test files to thread-test folder

Change-Id: Iaccf336e0d02b79c718f961e089c51215758206a
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2 years agoMerge "Update network API's" into tizen
Abhay Agarwal [Mon, 7 Mar 2022 10:20:48 +0000 (10:20 +0000)]
Merge "Update network API's" into tizen

2 years agoUpdate network API's 08/272008/3
Ravinder [Fri, 4 Mar 2022 11:39:15 +0000 (17:09 +0530)]
Update network API's

Change-Id: I57e218960a6f0d5a0350de1cfc242ba18b25cfdb

2 years agoFix 64bit build error 74/271974/3 accepted/tizen/unified/20220307.232554 submit/tizen/20220304.050954 submit/tizen/20220307.015135
Wootak Jung [Sun, 6 Mar 2022 23:32:27 +0000 (08:32 +0900)]
Fix 64bit build error

Change-Id: Icc9ddd60b872c37cfaad84fbeee5efd2255408d5

2 years agoFix coverity issue 31/271831/6
Rohit Singh [Wed, 2 Mar 2022 07:27:59 +0000 (12:57 +0530)]
Fix coverity issue

Change-Id: Ica1bd60af2fe5fd831d9941704ec3ed4ccb3dcb7
Signed-off-by: Rohit Singh <rohit.singh@samsung.com>
2 years agoMerge "Fix svace issues" into tizen
Abhay Agarwal [Wed, 2 Mar 2022 08:05:08 +0000 (08:05 +0000)]
Merge "Fix svace issues" into tizen

2 years agoFix svace issues 11/271711/4
Ravinder [Wed, 23 Feb 2022 11:11:00 +0000 (16:41 +0530)]
Fix svace issues

This patch handles the static analysis issues related to memory leak,
deref after NULL, tainted int loop, vulnerable function uses etc.

Change-Id: I9c1b6e6e6504433342544c406333e66abc98b7ac
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
2 years agoAdd support to add and remove ipaddr for thread node 15/271715/5
Rohit Singh [Thu, 24 Feb 2022 08:31:46 +0000 (14:01 +0530)]
Add support to add and remove ipaddr for thread node

This patch adds support to add and remove ipv6 address for the thread network:
- thread_add_ipaddr
- thread_remove_ipaddr

Change-Id: Ie12902e3f707938af7b856258bee8a5bd67cce99
Signed-off-by: Rohit Singh <rohit.singh@samsung.com>
2 years agoAdd thread commissioning scenarios to thread-test 14/271714/3
Rohit Singh [Tue, 15 Feb 2022 17:39:38 +0000 (23:09 +0530)]
Add thread commissioning scenarios to thread-test

Change-Id: I9d327ac92bc1f2ed4c8c7e5b93a006aa8b90f01b
Signed-off-by: Rohit Singh <rohit.singh@samsung.com>
2 years agoInitial commit for thread CAPI
Dohyun Pyun [Wed, 23 Feb 2022 04:30:36 +0000 (13:30 +0900)]
Initial commit for thread CAPI

Change-Id: I139bbbc03acc77127d04f82f8081adf0ffd90a85
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
2 years agoInitial empty repository master
Tizen Infrastructure [Tue, 22 Feb 2022 07:16:36 +0000 (07:16 +0000)]
Initial empty repository