platform/core/api/connection.git
10 years agoGet/Set the proxy information 15/34815/4 tizen_devel
Zhijie Gui [Tue, 3 Feb 2015 07:03:15 +0000 (15:03 +0800)]
Get/Set the proxy information

CAPI set proxy inteface is divided into type and
address functions,therefore, save last set proxy
type for avoid failure to set manual proxy address.

Change-Id: Id9c464f2f06365260635b6f0a4a67e41d4fc75ce
Signed-off-by: Zhijie Gui <zhijie.gui@archermind.com>
10 years agoGet the network status type 57/34357/1
Chengyi Zhao [Mon, 26 Jan 2015 06:07:52 +0000 (14:07 +0800)]
Get the network status type

Change-Id: If012097e564eae3cf5d3ef67e5cb98649e80985d
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoSet the IPv4 information 27/34027/1
Chengyi Zhao [Sat, 17 Jan 2015 10:21:34 +0000 (18:21 +0800)]
Set the IPv4 information

Change-Id: I0dfbf4d6264d0da89920a62d6c1c34986c203e4f
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoSet the DNS address 40/33940/2
Chengyi Zhao [Sat, 17 Jan 2015 06:58:48 +0000 (14:58 +0800)]
Set the DNS address

Change-Id: I315fc6b5c800600c80b2244d065a0fe9731aa934
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the Wi-Fi information 95/33795/1
Chengyi Zhao [Thu, 15 Jan 2015 03:08:37 +0000 (11:08 +0800)]
Get the Wi-Fi information

Change-Id: Ie9eb66b4c2f92096d0c241874dc3ef3ef8d3a5c6
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the DNS address 63/33063/1
Chengyi Zhao [Wed, 31 Dec 2014 08:15:21 +0000 (16:15 +0800)]
Get the DNS address

Change-Id: I70587e33ee0836a741203f3b8e54975fbc82fed6
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the Gateway address 62/33062/1
Chengyi Zhao [Wed, 31 Dec 2014 02:40:25 +0000 (10:40 +0800)]
Get the Gateway address

Change-Id: I6ed17657638ed050a912290f701e497972daa27f
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the Subnet Mask 61/33061/1
Chengyi Zhao [Tue, 30 Dec 2014 09:53:21 +0000 (17:53 +0800)]
Get the Subnet Mask

Change-Id: Ic061ede515bbd814738e664f913ca83466f72641
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the IP address 60/33060/1
Chengyi Zhao [Tue, 30 Dec 2014 09:41:13 +0000 (17:41 +0800)]
Get the IP address

Change-Id: If8fb7c466881e38bd4ac3d43cbbf45e2d30a9784
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the IP config type 59/33059/1
Chengyi Zhao [Tue, 30 Dec 2014 08:49:52 +0000 (16:49 +0800)]
Get the IP config type

Change-Id: I5e953dfbcc8814603ac43a873bb47c2d64f0206b
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the name of network interface 49/32849/1
Chengyi Zhao [Fri, 26 Dec 2014 06:58:35 +0000 (14:58 +0800)]
Get the name of network interface

Change-Id: I22235efa0cd9c0f5b1d9ab408ea0da1e611c4a0f
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the profile ID 48/32848/1
Chengyi Zhao [Fri, 26 Dec 2014 06:36:59 +0000 (14:36 +0800)]
Get the profile ID

Change-Id: I63770517ac411673662e6c2970af72f64d220ef3
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoMonitor changes of network type/ipv4/proxy 33/32833/2
Chengyi Zhao [Thu, 25 Dec 2014 02:21:54 +0000 (10:21 +0800)]
Monitor changes of network type/ipv4/proxy

Change-Id: I0fbfa766b6a26d0d8258a6ac57ac61d396bb9444
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoClone the profile handle 63/32463/2
Chengyi Zhao [Thu, 18 Dec 2014 14:15:32 +0000 (22:15 +0800)]
Clone the profile handle

Change-Id: I58cf5551ef36fd74d0f08fe55607f8b10cf6034a
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the ESSID 62/32462/1
Chengyi Zhao [Thu, 11 Dec 2014 03:12:36 +0000 (11:12 +0800)]
Get the ESSID

Change-Id: I8609936afd44ce49a38089e94284bddd160aaa7d
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the network status 61/32461/1
Chengyi Zhao [Thu, 18 Dec 2014 07:51:04 +0000 (15:51 +0800)]
Get the network status

Change-Id: Ibe0d6e0e14f7259d9337961b954f7ff2fea34173
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the network type 60/32460/1
Chengyi Zhao [Thu, 18 Dec 2014 07:48:29 +0000 (15:48 +0800)]
Get the network type

Change-Id: Ie256e40392dc3e10cc55e32538dba6a08205b8f8
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoRegister the changed callback of service state 59/32459/1
Chengyi Zhao [Thu, 18 Dec 2014 07:37:15 +0000 (15:37 +0800)]
Register the changed callback of service state

Change-Id: I88c71f65dcc674109b4b050f498821d9050bc3c5
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the proxy address of the current connection 28/31628/2
Chengyi Zhao [Mon, 8 Dec 2014 09:36:55 +0000 (17:36 +0800)]
Get the proxy address of the current connection

Change-Id: I4c26aaa780d731b378350a427932e8917f404594
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the ip address of the current connection 27/31627/2
Chengyi Zhao [Mon, 8 Dec 2014 09:05:48 +0000 (17:05 +0800)]
Get the ip address of the current connection

Change-Id: I33bc61c168ff29f9108dbf0875b91b1b588cf263
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the type of the current profile for data connection 26/31626/2
Chengyi Zhao [Mon, 8 Dec 2014 01:06:46 +0000 (09:06 +0800)]
Get the type of the current profile for data connection

All services are a sorted list of tuples with
service object path and dictionary of service properties,
generally, the first one is a default(or active) service,
and the profile type and the device type are the same.

Change-Id: I0d9146d56dff46798166086e9a316d6fedd29927
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoClose a connection of profile asynchronously 54/31354/3
Chengyi Zhao [Thu, 4 Dec 2014 08:06:13 +0000 (16:06 +0800)]
Close a connection of profile asynchronously

Change-Id: I4038520b7b158c01c1c70377fde2e11b4442acd8
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoOpen a connection of profile asynchronously 53/31353/3
Chengyi Zhao [Thu, 4 Dec 2014 08:00:52 +0000 (16:00 +0800)]
Open a connection of profile asynchronously

Change-Id: I6544061fe51fcb4fd1077df54a0bc93981ae0e7f
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the profile iterator 52/31352/3
Chengyi Zhao [Thu, 4 Dec 2014 05:55:26 +0000 (13:55 +0800)]
Get the profile iterator

Change-Id: I691a18c19444d3f8235a7271abc19d5c9edccd68
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet the profile name 21/31321/2
Chengyi Zhao [Thu, 4 Dec 2014 02:38:28 +0000 (10:38 +0800)]
Get the profile name

Different methods have been used to get the profile name
based on different profile types.

Change-Id: Id5de80658bbcd74e01818c599f2c275e39bebd6b
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoGet service handle through profile name 20/31320/2
Chengyi Zhao [Thu, 4 Dec 2014 02:20:01 +0000 (10:20 +0800)]
Get service handle through profile name

The profile name of struct net_profile_info_t and the path
of struct connman_service are the same.

Change-Id: I8214f48a073d77620e235bae11005f0aa00ef141
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoAdd to get current profile 96/31296/4
Chengyi Zhao [Wed, 3 Dec 2014 05:32:54 +0000 (13:32 +0800)]
Add to get current profile

All services are a sorted list of tuples with
service object path and dictionary of service properties,
generally, the first one is a active(or default) service.

Change-Id: I2ceea3308a9062f0673021e13ca332dd9edae13f
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoFix the coding style 95/31295/1
Chengyi Zhao [Wed, 3 Dec 2014 03:57:07 +0000 (11:57 +0800)]
Fix the coding style

Change-Id: I339a467483b12295b9d2953c54bdbff68ba6ac3a
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoAdd to get bluetooth state 89/31189/2
Chengyi Zhao [Tue, 2 Dec 2014 03:38:15 +0000 (11:38 +0800)]
Add to get bluetooth state

There is no need to check 'tethering' status
to get this bluetooth state.

Change-Id: I1472b4a1c09c74cb6d588fc8037391757f5abaf2
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoAdd to get ethernet state 88/31188/2
Chengyi Zhao [Tue, 2 Dec 2014 02:51:48 +0000 (10:51 +0800)]
Add to get ethernet state

This ethernet state is not related to 'tethering'.

Change-Id: Icd714172758e177b4a667f22429d9735439a32ba
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoAdd to get wifi state 94/30994/6
Chengyi Zhao [Mon, 1 Dec 2014 04:59:23 +0000 (12:59 +0800)]
Add to get wifi state

This wifi state is expressed as a state of the station mode,
especially,after 'tethering' has been enabled, this wifi
state will be set to 'CONNECTION_WIFI_STATE_DEACTIVATED'.

Change-Id: Ia876fcdbfa04d2177c57a2f21911c669a96b3fe1
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoInitial version of tizen_devel branch 13/30913/5
Chengyi Zhao [Thu, 27 Nov 2014 04:06:07 +0000 (12:06 +0800)]
Initial version of tizen_devel branch

This is a refactor version based on the tizen branch,
and it will be integrated into the new winet framework.

In the first phrase:
1.Refactor the connection profile.
2.The cellular profile has not been included.
3.Delete the old dependency package 'network'.
4.Add new dependency packages:
  'connman-lib' and 'winet-lib'.

Change-Id: Iaa7c603de43c58d564f506b5f45df27ae7875515
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
10 years agoCorrect specified license string in spec file
Zhang zhengguang [Tue, 25 Nov 2014 01:54:51 +0000 (09:54 +0800)]
Correct specified license string in spec file

Change-Id: I60935b3e52868212e95a56f236c93c4a5fcc809c

11 years agoFix issue with DNS setting 78/13178/3
taesub.kim [Fri, 29 Nov 2013 02:48:06 +0000 (11:48 +0900)]
Fix issue with DNS setting

If there are no DNS servers in a profile
(internally, when the dns count is 0),
user can not add new one manually

Change-Id: I4028dab99e01796df9b9bd63c15205ba8cdbbc1e
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
11 years agoClean the unnecessary things up 77/13177/4
taesub.kim [Fri, 29 Nov 2013 02:39:21 +0000 (11:39 +0900)]
Clean the unnecessary things up

Change-Id: I363e69d1dbc62f6fb258187be17b3c9065d1251a
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
11 years agoOptimize the profile iterator getter 75/13175/1
taesub.kim [Fri, 29 Nov 2013 02:21:21 +0000 (11:21 +0900)]
Optimize the profile iterator getter

Change-Id: I55c124d8172e75284b24c6cfb5a4d1db94c768a7
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
11 years agoEliminate user privacy logs 73/13173/1
taesub.kim [Fri, 29 Nov 2013 02:07:40 +0000 (11:07 +0900)]
Eliminate user privacy logs

Change-Id: I7fed7a584a10c48530286e698dbb1a4904d70aed
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
11 years agoFix memory leak 71/13171/1
taesub.kim [Fri, 29 Nov 2013 01:56:54 +0000 (10:56 +0900)]
Fix memory leak

Change-Id: I18450dc7ee9700f8fff210edd264343e3a21bf9b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
11 years agoSet CFLAGS fvisibility hidden 69/13169/2
taesub.kim [Fri, 29 Nov 2013 01:15:34 +0000 (10:15 +0900)]
Set CFLAGS fvisibility hidden

Change-Id: I731d0220c71e2d3f4413b41efec8723c7e99af8b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
11 years agox86_64 compliance: Fix libdir variable in PC file 90/5590/1 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_generic tizen_3.0.2014.q3_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_3.0_ivi tizen_ivi_genivi accepted/tizen/20130912.082355 accepted/tizen/20130912.085315 accepted/tizen/20130912.093504 accepted/tizen/20130912.141935 accepted/tizen/20130912.192216 accepted/tizen/20130912.200317 accepted/tizen/generic/20140306.081653 accepted/tizen/ivi/20140307.055455 accepted/tizen/ivi/genivi/20140131.061806 accepted/tizen/mobile/20140306.024646 accepted/tizen_ivi_stable/20131116.101958 ivi_oct_m2 submit/tizen/20130912.075639 submit/tizen/20130912.090055 submit/tizen/20140305.213855 submit/tizen_ivi_genivi/20140131.060701 submit/tizen_ivi_stable/20131116.100054 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
Baptiste DURAND [Fri, 29 Mar 2013 12:55:38 +0000 (13:55 +0100)]
x86_64 compliance: Fix libdir variable in PC file

Change-Id: If8b06f736e47ec9a4f4cf3eba5762300b34dcd0e
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
11 years agoMerge "resetting manifest requested domain to floor" into tizen accepted/tizen/20130710.221657 submit/tizen/20130710.102326
Ryan Ware [Mon, 8 Jul 2013 17:07:06 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

11 years agoresetting manifest requested domain to floor 79/5179/1
Alexandru Cornea [Mon, 1 Jul 2013 16:23:04 +0000 (19:23 +0300)]
resetting manifest requested domain to floor

11 years agoresetting manifest requested domain to floor 07/4507/1
Alexandru Cornea [Fri, 28 Jun 2013 14:53:25 +0000 (17:53 +0300)]
resetting manifest requested domain to floor

12 years agoFix build by unsetting LD_AS_NEEDED 94/3594/1 accepted/tizen/20130520.215106 submit/tizen/20130520.201501
Rusty Lynch [Mon, 20 May 2013 20:14:16 +0000 (13:14 -0700)]
Fix build by unsetting LD_AS_NEEDED

12 years agoFix build break tizen_2.1 accepted/tizen/20130520.193228 submit/tizen/20130520.200645 submit/tizen_2.1/20130514.052016
Jaehyun Kim [Fri, 26 Apr 2013 13:49:02 +0000 (22:49 +0900)]
Fix build break

12 years agoAdd new API : connection_set_default_cellular_service_profile_async() 2.1b_release accepted/tizen_2.1/20130425.040700 submit/tizen_2.1/20130424.230309
Jaehyun Kim [Tue, 9 Apr 2013 13:11:51 +0000 (22:11 +0900)]
Add new API : connection_set_default_cellular_service_profile_async()

Change-Id: I71c996657cc7bfe638dd9021702d7a48be43e2f5

12 years agoFixed build on x86_64.
Junfeng Dong [Thu, 31 Jan 2013 12:41:34 +0000 (20:41 +0800)]
Fixed build on x86_64.

Change-Id: I2f0eae0289d55cf83efccd02df8f1ffc5f438f57

12 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:45:51 +0000 (01:45 +0900)]
Tizen 2.1 base

13 years agoInitial empty repository
Eunkyoung Kim [Fri, 6 Jan 2012 12:59:24 +0000 (21:59 +0900)]
Initial empty repository