platform/core/api/wifi-mesh.git
6 years agoAdd getter APIs related to peers 29/145429/1
saerome kim [Tue, 22 Aug 2017 08:44:36 +0000 (17:44 +0900)]
Add getter APIs related to peers

Change-Id: Ib2bc7009732c2e7a4c6c235ed12027272d082647
Signed-off-by: saerome kim <saerome.kim@samsung.com>
6 years agoIncrease line coverage
saerome kim [Thu, 6 Jul 2017 23:42:11 +0000 (08:42 +0900)]
Increase line coverage

Signed-off-by: saerome kim <saerome.kim@samsung.com>
6 years ago- Fix missing 'wifi_' prefix problem
saerome kim [Thu, 6 Jul 2017 01:58:40 +0000 (10:58 +0900)]
- Fix missing 'wifi_' prefix problem

Signed-off-by: saerome kim <saerome.kim@samsung.com>
6 years agoFix feature name error
saerome.kim [Wed, 5 Jul 2017 12:29:00 +0000 (21:29 +0900)]
Fix feature name error

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChange feature
saerome.kim [Wed, 5 Jul 2017 11:08:22 +0000 (20:08 +0900)]
Change feature
- http://tizen.org/feature/network.mesh -> http://tizen.org/feature/network.wifi.mesh
- http://tizen.org/feature/network.mesh.admin -> http://tizen.org/feature/network.wifi.mesh.admin

Change dbus path
- net.mes -> net.wmesh

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChange test menu sequence in order of execution
saerome.kim [Wed, 5 Jul 2017 05:25:40 +0000 (14:25 +0900)]
Change test menu sequence in order of execution

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChange API name
saerome.kim [Tue, 4 Jul 2017 12:54:17 +0000 (21:54 +0900)]
Change API name
- wifi_mesh_start_mesh -> wifi_mesh_start
- wifi_mesh_stop_mesh -> wifi_mesh_stop

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChange package name to capi-network-wifi-mesh
saerome.kim [Tue, 4 Jul 2017 12:17:59 +0000 (21:17 +0900)]
Change package name to capi-network-wifi-mesh

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix build error
saerome.kim [Mon, 3 Jul 2017 12:23:53 +0000 (21:23 +0900)]
Fix build error
- Added a missing 'mesh-internal.h' file

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoRearrange codes
saerome.kim [Mon, 3 Jul 2017 12:21:10 +0000 (21:21 +0900)]
Rearrange codes
- added mesh-internal.h to the devel package
- Change locations of inhouse APIs to mesh_internal.c

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChange some API from public to in-house
saerome.kim [Mon, 3 Jul 2017 10:26:45 +0000 (19:26 +0900)]
Change some API from public to in-house
- remove 'data_rate' parameter at  mesh_network_new_with()
- change below API to internal
 . mesh_network_set_data_rate()
 . mesh_network_get_data_rate()
 . mesh_cancel_scan()
 . mesh_set_gate()
 . mesh_unset_gate()
 . mesh_get_station_info()
 . mesh_get_mpath_info()
 . mesh_set_interface()

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix API documentation errors
saerome.kim [Mon, 3 Jul 2017 06:43:44 +0000 (15:43 +0900)]
Fix API documentation errors

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChanged somethings related to 'mesh_set_gate'
saerome.kim [Mon, 3 Jul 2017 05:08:26 +0000 (14:08 +0900)]
Changed somethings related to 'mesh_set_gate'

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdded password input at mesh_test app
saerome.kim [Fri, 30 Jun 2017 04:28:26 +0000 (13:28 +0900)]
Added password input at mesh_test app

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix Tizen coding rule errors
saerome.kim [Fri, 30 Jun 2017 04:11:41 +0000 (13:11 +0900)]
Fix Tizen coding rule errors

menu.h:44: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:46: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:50: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:54: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:58: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:61: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:61: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:64: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:68: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:73: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:73: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
menu.h:93: ERROR: [SPC_M_SEP] space prohibited between function name and open parenthesis '('
menu.h:117: ERROR: [SPC_M_SEP] space prohibited between function name and open parenthesis '('
menu.h:118: ERROR: [SPC_M_SEP] space prohibited between function name and open parenthesis '('
menu.h:119: ERROR: [SPC_M_SEP] space prohibited between function name and open parenthesis '('
menu.h:120: ERROR: [SPC_M_SEP] space prohibited between function name and open parenthesis '('
mesh_log.h:32: ERROR: [SPC_M_SEP] space required after that close brace '}'
mesh_log.h:33: ERROR: [SPC_M_KWD] space required before the open parenthesis '('
mesh_log.h:41: ERROR: [SPC_M_KWD] space required before the open parenthesis '('
mesh_log.h:48: ERROR: [SPC_M_SEP] space required after that close brace '}'
mesh_log.h:49: ERROR: [SPC_M_KWD] space required before the open parenthesis '('
mesh_log.h:57: ERROR: [SPC_M_KWD] space required before the open parenthesis '('

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix API documentation
saerome.kim [Mon, 26 Jun 2017 09:52:29 +0000 (18:52 +0900)]
Fix API documentation
 - The beginning of @details must start with an uppercase letter

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix API documentations errors
saerome.kim [Mon, 26 Jun 2017 09:51:15 +0000 (18:51 +0900)]
Fix API documentations errors

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix hostapd error
Jiwan Kim [Thu, 15 Jun 2017 06:53:20 +0000 (15:53 +0900)]
Fix hostapd error

- Use mode 'n' for 2.4GHz

6 years agoChange return type from void to int
saerome.kim [Wed, 14 Jun 2017 10:28:34 +0000 (19:28 +0900)]
Change return type from void to int
 - change mesh_network_destroy's return type

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoHandle error return code
Jiwan Kim [Wed, 14 Jun 2017 10:12:40 +0000 (19:12 +0900)]
Handle error return code

- Change to return valid return code on repeated call.
  mesh_enable_mesh
  mesh_disable_mesh
- Change policy of return code
  mesh_cancel_scan
  mesh_disable_softap
- Add method
  mesh_is_joined

6 years agoFix svace issue
Jiwan Kim [Tue, 13 Jun 2017 08:17:20 +0000 (17:17 +0900)]
Fix svace issue

- Remove resource leak

6 years agoFix to follow coding style
Jiwan Kim [Tue, 13 Jun 2017 07:39:20 +0000 (16:39 +0900)]
Fix to follow coding style

- Change line coverage comment string

6 years agoFix to follow coding style
Jiwan Kim [Tue, 13 Jun 2017 07:28:20 +0000 (16:28 +0900)]
Fix to follow coding style

6 years agoFix svace issues
Jiwan Kim [Tue, 13 Jun 2017 07:22:55 +0000 (16:22 +0900)]
Fix svace issues

6 years agoChange function time to succeed TCT
saerome.kim [Tue, 13 Jun 2017 06:51:29 +0000 (15:51 +0900)]
Change function time to succeed TCT

 - change return type from void to int of  mesh_deinitialize function

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix a bug that native app can not find mesh.h & lib files
saerome kim [Tue, 13 Jun 2017 01:05:02 +0000 (10:05 +0900)]
Fix a bug that native app can not find mesh.h & lib files

- change paths in capi-network-mesh.pc.in

Signed-off-by: saerome kim <saerome.kim@samsung.com>
6 years agoAdd security type and passphrase
Jiwan Kim [Fri, 9 Jun 2017 08:02:14 +0000 (17:02 +0900)]
Add security type and passphrase

- Add mesh_security_type_e
- Add mesh_network_get(set)_security()
- Add mesh_network_set_passphrase

6 years agoChange for connection state support
Jiwan Kim [Thu, 8 Jun 2017 07:13:08 +0000 (16:13 +0900)]
Change for connection state support

- Remove MESH_JOIN(LEFT)_NETWORK_EVENT
- Add MESH_CONNECTION_STATE_EVENT
- Add mesh_network_get_connection_state()
- Add connection state into network information

6 years agoAdd 'MESH_CONNECTED_EVENT' event handler
Jiwan Kim [Wed, 7 Jun 2017 02:22:09 +0000 (11:22 +0900)]
Add 'MESH_CONNECTED_EVENT' event handler

- Handle 'mesh_connected' signal

6 years agoAdd some new API for connected peers
Jiwan Kim [Fri, 2 Jun 2017 07:02:03 +0000 (16:02 +0900)]
Add some new API for connected peers

- mesh_foreach_connected_peers() added.
- mesh_peer_get_address() added.
- Update mesh_get_joined_network() to return MESH_ERROR_NONE
  if no joined network exists.

6 years agoAdd service error enums
Jiwan Kim [Thu, 1 Jun 2017 07:25:34 +0000 (16:25 +0900)]
Add service error enums

- Add 'service_error_e' to get error code from service.
- Print message to notify the return state of API.

6 years agoRemove internal error enumeration
Jiwan Kim [Thu, 1 Jun 2017 05:41:28 +0000 (14:41 +0900)]
Remove internal error enumeration

- Remove 'MESH_ITNL_ERR_*' as it is not useless now.
- Adjust mesh_error_e enum values to support internal errors.

6 years agoChange mesh APIs
Jiwan Kim [Thu, 1 Jun 2017 04:39:35 +0000 (13:39 +0900)]
Change mesh APIs

- Create a new API : mesh_set_event_cb()
- Remove event_callback parameter from mesh_enable()
- Change not to execute mesh_disable() on test app termination

6 years agoChange APIs
Jiwan Kim [Tue, 30 May 2017 07:23:25 +0000 (16:23 +0900)]
Change APIs

- Add 'mesh_disconnect_mesh_network'
- Revert API name (scanned->found)

6 years agoFix for API concept changes
Jiwan Kim [Mon, 29 May 2017 09:55:18 +0000 (18:55 +0900)]
Fix for API concept changes

- Rename some APIs and dbus interface also
- Remove some unnecessary APIs

6 years agoUpdate test code to support connman integration
Jiwan Kim [Fri, 26 May 2017 07:17:39 +0000 (16:17 +0900)]
Update test code to support connman integration

6 years agoFix typos & Change to use GList on test app
Jiwan Kim [Tue, 21 Mar 2017 05:13:30 +0000 (14:13 +0900)]
Fix typos & Change to use GList on test app

- Use GList instead of GHashTable to prevent invalid list ordering issue

6 years agoFixed a bug about calling g_variang_get()
saerome.kim [Tue, 14 Mar 2017 07:03:33 +0000 (16:03 +0900)]
Fixed a bug about calling g_variang_get()

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdjust variant type / Fix crash on mpath dump
Jiwan Kim [Tue, 14 Mar 2017 05:43:35 +0000 (14:43 +0900)]
Adjust variant type / Fix crash on mpath dump

- Adjust GVariant type on station_info
- Change mpath free function instead of g_list_free_full

6 years agoImplement get_mpath_info API
saerome.kim [Tue, 14 Mar 2017 04:34:59 +0000 (13:34 +0900)]
Implement get_mpath_info API

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoImplemen get_stations_info API
saerome.kim [Tue, 14 Mar 2017 04:10:51 +0000 (13:10 +0900)]
Implemen get_stations_info API

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChange dbus path of enable/disable method
Jiwan Kim [Tue, 14 Mar 2017 01:15:06 +0000 (10:15 +0900)]
Change dbus path of enable/disable method

6 years agoFix error on join/left event handler
Jiwan Kim [Mon, 13 Mar 2017 10:39:19 +0000 (19:39 +0900)]
Fix error on join/left event handler

6 years agoFixed segmentation falut error after calling mesh_foreach_found_mesh_network()
saerome.kim [Mon, 13 Mar 2017 10:25:50 +0000 (19:25 +0900)]
Fixed segmentation falut error after calling mesh_foreach_found_mesh_network()

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFixed bugs about managing mesh networks
saerome.kim [Mon, 13 Mar 2017 05:24:20 +0000 (14:24 +0900)]
Fixed bugs about managing mesh networks
 - added show scanned network list when calling mesh_add_network()
 - added show configuraed network list when calling mesh_select_network or mesh_remove_network
 - mesh_get_joined_mesh_network

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFixed bugs about managing networks at test app
saerome.kim [Mon, 13 Mar 2017 01:48:26 +0000 (10:48 +0900)]
Fixed bugs about managing networks at test app
 - add_mesh_network
 - select_mesh_network
 - remove_mesh_network

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoImplement CAPI
saerome.kim [Sun, 12 Mar 2017 23:46:06 +0000 (08:46 +0900)]
Implement CAPI
 - event handler
 - APIs related to network management

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoImplement mesh_test and rest of APIs
saerome kim [Wed, 8 Mar 2017 08:22:53 +0000 (17:22 +0900)]
Implement mesh_test and rest of APIs

Signed-off-by: saerome kim <saerome.kim@samsung.com>
6 years agoImplement test case for 'device' category
saerome.kim [Mon, 6 Mar 2017 12:52:56 +0000 (21:52 +0900)]
Implement test case for 'device' category

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix a build error
saerome.kim [Mon, 6 Mar 2017 12:32:58 +0000 (21:32 +0900)]
Fix a build error

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoImplement Mesh CAPI according to DBus API guide documents
saerome.kim [Mon, 6 Mar 2017 12:14:25 +0000 (21:14 +0900)]
Implement Mesh CAPI according to DBus API guide documents

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoApply changed Dbus methods
saerome kim [Fri, 3 Mar 2017 12:20:10 +0000 (21:20 +0900)]
Apply changed Dbus methods

Signed-off-by: saerome kim <saerome.kim@samsung.com>
6 years agoApply changed Dbus methods
saerome kim [Fri, 3 Mar 2017 12:20:10 +0000 (21:20 +0900)]
Apply changed Dbus methods

Signed-off-by: saerome kim <saerome.kim@samsung.com>
6 years agoInitial code sync up from private gerrit
Jiwan Kim [Fri, 24 Feb 2017 02:00:45 +0000 (11:00 +0900)]
Initial code sync up from private gerrit

Signed-off-by: Jiwan Kim <ji-wan.kim@samsung.com>
6 years agoInitial commit
김새롬/Tizen Platform Lab(S/W센터)/S5(책임)/삼성전자 [Fri, 24 Feb 2017 01:47:01 +0000 (10:47 +0900)]
Initial commit

6 years agoInitial empty repository master
Tizen Infrastructure [Mon, 10 Jul 2017 09:36:23 +0000 (09:36 +0000)]
Initial empty repository