platform/core/connectivity/connman-lib.git
10 years agoWiNet framework release 0.1: ConnMan-lib part 16/25116/2 0.1
Zhang zhengguang [Wed, 30 Jul 2014 01:14:04 +0000 (09:14 +0800)]
WiNet framework release 0.1: ConnMan-lib part

Change-Id: Ie183319c43fcd802e28dee17763455c768fa8734

10 years agoservice: Check the service name 97/24997/1
Chengyi Zhao [Fri, 25 Jul 2014 07:27:35 +0000 (15:27 +0800)]
service: Check the service name

Because the hidden service name is null, library needs to
check it before adding or removing service object
from hash table which key is the service name.

Change-Id: Ie6930c4f57c6dde23b4442af0ee32661ce822f9b

10 years agomanager: fix manager state and offlinemode parse error 47/24847/4
Guoqiang Liu [Wed, 23 Jul 2014 06:23:40 +0000 (14:23 +0800)]
manager: fix manager state and offlinemode parse error

Change-Id: Ie37b89d65fd6c30e2dda447f88ebf7b76ac07bb4

10 years agoFix function spell error 46/24846/1
Guoqiang Liu [Wed, 23 Jul 2014 06:23:11 +0000 (14:23 +0800)]
Fix function spell error

Change-Id: I4049822c4e87dd954cdefc5d92b2ea28cc50d926

10 years agocommon: Rename the common file name 45/24845/1
Chengyi Zhao [Wed, 23 Jul 2014 03:36:15 +0000 (11:36 +0800)]
common: Rename the common file name

In order to avoid the same file name with the upper layer,
specially rename "common.h" to "connman-lib-common.h"

Change-Id: Ifb15de360ade007db15f3c3106018ab94404343d

10 years agotest: Add test to get WiFi tethering hidden mode 57/24757/1
Zhang zhengguang [Mon, 21 Jul 2014 07:35:34 +0000 (15:35 +0800)]
test: Add test to get WiFi tethering hidden mode

Change-Id: I9479a7c0726fbe2ad428c6d6f11b823df7b5c3d7

10 years agotechnology: Add support to get WiFi tethering hidden mode 47/24747/1
Zhang zhengguang [Mon, 21 Jul 2014 05:49:20 +0000 (13:49 +0800)]
technology: Add support to get WiFi tethering hidden mode

Change-Id: I3ed254250d1b4c14752b2edba8541dcb0cea58e1

10 years agomanager: Fix for handling the manager signal "ServicesChanged" 93/24693/6
Chengyi Zhao [Wed, 16 Jul 2014 08:22:27 +0000 (16:22 +0800)]
manager: Fix for handling the manager signal "ServicesChanged"

In ConnMan daemon, when “ServiceChanged” signal is emitted,
it will notify upper layer with the information of all services
and added services, so it needs to expose the added services
information in the library as well.

Update the “ServicesChanged” signal handling to add support
for the added services.

Change-Id: Iaf6e98cc8f425bcbb46198ac4b01d1a99a898815

10 years agomanager: Check whether technology has already existed 92/24692/3
Chengyi Zhao [Wed, 16 Jul 2014 08:06:37 +0000 (16:06 +0800)]
manager: Check whether technology has already existed

When the connman library is initialized, it will firstly sync
all technologies and save them, but if ConnMan daemon happens
to be launched just now, connman manager will receive the
“TechnologyAdded” signal for the technology which has already
been saved in the library. So it needs to check whether
technology has already existed when “TechnologyAdded“ signal
is received.

Change-Id: I084f8869a1e6f649a4962d66689bcfe1fce684dd

10 years agomanager: Check the validity of the connman manager 85/24685/1
Chengyi Zhao [Fri, 18 Jul 2014 03:20:18 +0000 (11:20 +0800)]
manager: Check the validity of the connman manager

Change-Id: Id5a244d8a634945bd24c89dc9bd28df4795710ba

10 years agoservice: Check input parameters of interface functions 78/24678/2
Chengyi Zhao [Wed, 16 Jul 2014 07:51:12 +0000 (15:51 +0800)]
service: Check input parameters of interface functions

Change-Id: Ib0b0a3db87600b3824087620b554c04f78560fd1

10 years agocommon: Add the error mechanism 74/24674/1
Chengyi Zhao [Wed, 16 Jul 2014 06:45:12 +0000 (14:45 +0800)]
common: Add the error mechanism

Transform all error messages of receiving from ConnMan
to the enum type.

Change-Id: I33fd0fe17b7aef5f8ca9bc82a1b91e8670bb1e2c

10 years agoservice: Modify the return type of interface functions 11/24611/1
Chengyi Zhao [Wed, 16 Jul 2014 06:21:14 +0000 (14:21 +0800)]
service: Modify the return type of interface functions

In order to more accurately represent the return error of
interface functions, specifically use the enum return type
instead of other types

Change-Id: Id8fe1f4a4fe30410cd49576e282b9c1620729f62

10 years agotechnology: Modify the return type of interface functions 10/24610/1
Chengyi Zhao [Wed, 16 Jul 2014 06:06:07 +0000 (14:06 +0800)]
technology: Modify the return type of interface functions

In order to more accurately represent the return error of
interface functions, specifically use the enum return type
instead of other types

Change-Id: Ib751ee50fb6c276405e286daefd0debf0742f7e3

10 years agomanager: Modify the return type of interface functions 09/24609/1
Chengyi Zhao [Wed, 16 Jul 2014 05:49:43 +0000 (13:49 +0800)]
manager: Modify the return type of interface functions

In order to more accurately represent the return error of
interface functions, specifically use the enum return type
instead of other types

Change-Id: I9ccea1882c0c51c93c63c91895d426d380b8ad2d

10 years agoconnman-lib: Use the enum return type 08/24608/1
Chengyi Zhao [Wed, 16 Jul 2014 05:37:50 +0000 (13:37 +0800)]
connman-lib: Use the enum return type

In order to more accurately represent the return error of
common functions, specifically use the enum return type
instead of other types

Change-Id: I9c13ec479b86dd48e4c6c556fcdce1b81582c3c4

10 years agocommon: Modify the error type name 44/24544/1
Chengyi Zhao [Wed, 16 Jul 2014 03:40:25 +0000 (11:40 +0800)]
common: Modify the error type name

Change-Id: I45a18871fec9a31c8ca22864062811152d271264

10 years agoservice: Delete connman_service_state_type enum
Chengyi Zhao [Thu, 19 Jun 2014 14:29:47 +0000 (22:29 +0800)]
service: Delete connman_service_state_type enum

10 years agoservice: Set configuration properties for ip and proxy
Chengyi Zhao [Thu, 19 Jun 2014 14:21:10 +0000 (22:21 +0800)]
service: Set configuration properties for ip and proxy

10 years agoservice: Fix service property parsing issue
Chengyi Zhao [Thu, 19 Jun 2014 14:06:17 +0000 (22:06 +0800)]
service: Fix service property parsing issue

10 years agoAdd LGPL V2 license announcement
Zhang zhengguang [Wed, 18 Jun 2014 08:17:34 +0000 (16:17 +0800)]
Add LGPL V2 license announcement

Add the license announcement in all of the source code files.

Change-Id: I183f15e6d21ec92f3c71824ceccdf80474977320

10 years agoRefactor source code structure
Zhang zhengguang [Wed, 18 Jun 2014 07:41:49 +0000 (15:41 +0800)]
Refactor source code structure

Seperate the source code into different files to make
the code structure more clear.

Change-Id: I0c2ffce4716f7500aa0b7be139ee916d74e62999

10 years agoConnMan lib prototype release
Zhang zhengguang [Wed, 18 Jun 2014 07:13:42 +0000 (15:13 +0800)]
ConnMan lib prototype release

This prototype includes the basic function wrapper for
ConnMan manager, technology and service, and it can provide
WiFi station, Tethering features to upper layer.

Change-Id: Ia1a22ce38debe8b7306dc15ff2b3f96dca2e220c

10 years agoInitial empty repository tizen
Sriram Ramkrishna [Wed, 25 Jun 2014 00:27:34 +0000 (17:27 -0700)]
Initial empty repository