DoHyun Pyun [Mon, 26 Dec 2016 05:00:08 +0000 (14:00 +0900)]
Revert "DPM: Fix DPM GCC6 warning errors."
This reverts commit
69a889b2872947fc8034b4dd787eb1a210d9a2b0.
Fix the next build error in tizen_3.0
178s] [ 88%] Building C object bt-service/CMakeFiles/bt-service.dir/bt-service-dpm.c.o
[ 179s] /home/abuild/rpmbuild/BUILD/bluetooth-frwk-0.2.156/bt-service/bt-service-dpm.c:35:2: error: excess elements in union initializer [-Werror]
[ 179s] [DPM_POLICY_ALLOW_BLUETOOTH] = { {DPM_BT_ERROR, NULL} },
[ 179s] ^
[ 179s] /home/abuild/rpmbuild/BUILD/bluetooth-frwk-0.2.156/bt-service/bt-service-dpm.c:35:2: error: (near initialization for 'policy_table[0].<anonymous>') [-Werror]
[ 179s] /home/abuild/rpmbuild/BUILD/bluetooth-frwk-0.2.156/bt-service/bt-service-dpm.c:36:2: error: excess elements in union initializer [-Werror]
[ 179s] [DPM_POLICY_BLUETOOTH_DEVICE_RESTRICTION] = { {DPM_STATUS_ERROR, NULL} },
Change-Id: I549af70370af09ace903822e17f993b47bc98c9c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 26 Dec 2016 01:08:54 +0000 (10:08 +0900)]
Fix the svace issue
Change-Id: I1fb7464f2e3fa84ced612d62da7a13c568afc786
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Injun Yang [Fri, 23 Dec 2016 03:48:29 +0000 (12:48 +0900)]
Code cleanup
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurence Version] N/A
[Problem] N/A
[Cause & Measure] Remove unused code
[Checking Method] N/A
[Team] Basic Connection
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I65dce5534cbac0d8642473d3ca01b137c68b7c7d
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Injun Yang [Tue, 20 Dec 2016 09:34:15 +0000 (18:34 +0900)]
Add HCI error reason
Change-Id: I8f2ea88e609e547e2d4bf526b5431defcbfb17ee
Signed-off-by: Injun Yang <injun.yang@samsung.com>
h.sandeep [Fri, 16 Dec 2016 08:25:09 +0000 (13:55 +0530)]
DPM: Fix DPM GCC6 warning errors.
Change-Id: I152f2a1a11757ef180655e27d063510a47847fd5
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Pyun DoHyun [Mon, 12 Dec 2016 07:07:20 +0000 (23:07 -0800)]
Merge "Send LE scan result to requester only" into tizen_3.0
Injun Yang [Mon, 12 Dec 2016 01:49:26 +0000 (10:49 +0900)]
Send LE scan result to requester only
Change-Id: I62f69dc111e568217775da9ab7a153293304f8c9
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Syam Sidhardhan [Fri, 9 Dec 2016 11:38:33 +0000 (17:08 +0530)]
Fix progress percentage on DUT while waiting for remote authorization
Soon after TransferStarted event, TransferProgress event
has been send with value. Due to this, if we transfer a small file (100KB),
while waiting for remote authorization, the file progress on DUT shows
some percentage (> 0 depending on file size).
Change-Id: I5ebf9293e78d2701bb47da127f9f68eb7ba2eb90
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
DoHyun Pyun [Fri, 9 Dec 2016 05:10:05 +0000 (14:10 +0900)]
Fix TCT fail issue for the obex server
Change-Id: I398c44efba5b6dcb43d641fdb406ab3ab79c9b4b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 9 Dec 2016 02:07:56 +0000 (11:07 +0900)]
Add the arch64 build flag for the emulator64 arch
Change-Id: I42506ec29060281cebf007094b11e7e48aa1c112
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 8 Dec 2016 05:00:55 +0000 (14:00 +0900)]
Add -Werror option in the bt-service folder
Change-Id: Icb690ecc5b848a374bdf9950ad28449c47606c55
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Piotr Dabrowski [Thu, 8 Dec 2016 08:42:59 +0000 (09:42 +0100)]
Warnings fixed for BT MAP
Change-Id: Idb9eecc02ceba2a46ab1067a0309466655d13440
Seungyoun Ju [Wed, 7 Dec 2016 08:38:49 +0000 (17:38 +0900)]
Remove unnecessary check
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] g_malloc always returns proper memory location. If it is not
available, abort will happenes. So its return value doesn't need to
check.
[Cause & Measure] g_malloc's return value was checked.
[Checking Method] Code review
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I97cb2ba2011fa20a908007ce4dcd5350ea6d0c6f
DoHyun Pyun [Thu, 8 Dec 2016 05:46:53 +0000 (14:46 +0900)]
Remove the map client code into the emulator
Change-Id: Ie8a1a245a615fea010d803a6c711ed35e32ade4f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 8 Dec 2016 04:50:44 +0000 (13:50 +0900)]
Fix the svace issues for MAP functions
Change-Id: I007b2ff32429334901f284d43082dae6e009ea86
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 8 Dec 2016 04:47:24 +0000 (13:47 +0900)]
Check the privelege for MAP APIs as the platform level
Change-Id: I0bef92ac56fa75833be6fca134d49fbfb40106e9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 8 Dec 2016 04:46:44 +0000 (13:46 +0900)]
Fix the coding style errors
Change-Id: Iaadf5045dbfa5e9c2d77d4b58afcbf62a75a7ecd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 8 Dec 2016 00:55:17 +0000 (09:55 +0900)]
Enable the previlege check for public release
Change-Id: Ie65f47308f4efd7dd9fd8d0abaa0e177c999a2c7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Piotr Dabrowski [Fri, 18 Nov 2016 08:58:48 +0000 (09:58 +0100)]
[bluetooth-frwk] pushMessage
Change-Id: I47f99f194f1992cf8c6ef7127dd48c6bfd5e9fbc
Piotr Dabrowski [Fri, 11 Nov 2016 10:25:45 +0000 (11:25 +0100)]
[bluetooth-frwk] bt_map_client_message_object_h
Change-Id: I12eccc5b3f2bda2e39d9bf5f45c70aa2d6f309c4
Piotr Dabrowski [Thu, 17 Nov 2016 13:45:05 +0000 (14:45 +0100)]
[bluetooth-frwk] listFolders filter, refactor, removed GVariant, cleanup
Change-Id: Ifcd1cf3311f1f64b78c92de4bf366f9515e39073
Piotr Kosko [Wed, 9 Nov 2016 07:01:50 +0000 (08:01 +0100)]
[bluetooth-frwk] added getMessage implementation
Change-Id: Iedb4fc0d4bd721a496112c1aed36ae79ef0093f4
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Dabrowski [Wed, 9 Nov 2016 15:39:46 +0000 (16:39 +0100)]
[bluetooth-frwk] listMessages
Change-Id: Ibc633c9c9e930da5cc296917d7821d0f2294971a
Lukasz Bardeli [Fri, 4 Nov 2016 13:32:56 +0000 (14:32 +0100)]
[bluetooth-frwk] fix in listFolders and listFilterFields
Change-Id: I4ef2f1416dd94dd5e390c69f15116e354c5c70cf
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Fri, 4 Nov 2016 10:44:01 +0000 (11:44 +0100)]
[bluetooth-frwk] Added listFilterFields implementation with async result
[Feature] added implementation for listFilterFields method
[Verification] function checked with sample C program:
- listing filter fields is possible
Change-Id: Ic3cb5b18df442f4a896b80941228e63e5cfa8dac
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Fri, 28 Oct 2016 12:57:49 +0000 (14:57 +0200)]
[bluetooth-frwk] Added listFolders implementation with async result
[Feature] added implementation for listFolders method
[Verification] function checked with sample C program:
- listing folder is possible,
- options work correctly and maxcount works fine.
- user_data is correctly passed to result callback
Change-Id: If81066103306cd1bc4199d5bf2a1396c4d11af7f
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Dabrowski [Wed, 26 Oct 2016 15:46:50 +0000 (17:46 +0200)]
[bluetooth-frwk] API defines
Change-Id: I908dc6e6410c91c8c4b6b483658b796d0e2ccfb9
Piotr Dabrowski [Wed, 26 Oct 2016 15:37:52 +0000 (17:37 +0200)]
[bluetooth-frwk] setFolder
Change-Id: I58c2c6a9eb54335920d553a6d376e9cceb6b5821
Lukasz Bardeli [Tue, 25 Oct 2016 09:57:12 +0000 (11:57 +0200)]
[bluetooth-frwk] updateInbox
Change-Id: Idee948fbab0b451ebecd996895966abffc0e09e1
Piotr Kosko [Wed, 19 Oct 2016 10:31:45 +0000 (12:31 +0200)]
[bluetooth-frwk] Create/destroy session implementation added
Change-Id: I3fcba252d63b110328f5fb1478ea27dd70993e3f
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Dabrowski [Mon, 17 Oct 2016 08:25:12 +0000 (10:25 +0200)]
initial MAP stub implementation
Change-Id: Ic23c297cb65b69d05b2ec63ef3db414504ec3014
Anurag Biradar [Tue, 6 Dec 2016 04:30:15 +0000 (10:00 +0530)]
bt-core: Fix bt-core crash
g_dbus_proxy_call_sync function expects a double pointer for "err"
variable in it's parameter list
Change-Id: I534c22e1330998aa0fd9fb8e03f2d222f1c2f04a
DoHyun Pyun [Tue, 6 Dec 2016 08:19:56 +0000 (17:19 +0900)]
Fix the coding style errors
Change-Id: Ifba36e6102bb60339d2d3c9c52ef596c7e10fed8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 6 Dec 2016 07:49:31 +0000 (16:49 +0900)]
Fix svace 2.2 issues
Change-Id: Ic4b27a4cc8e0d5f4a5e828eaedb5297aa7e5ec46
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 6 Dec 2016 07:43:41 +0000 (16:43 +0900)]
Fix the build warning
Change-Id: I79a973c63a57ce89e8adb4b7fa91bab755ac95c3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 6 Dec 2016 02:01:28 +0000 (11:01 +0900)]
Fix the bug for dbus connection and proxy deinitialization
Change-Id: Id81a3924fb85697bf2056a6c1403f9e3ff9275ca
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Seungyoun Ju [Fri, 2 Dec 2016 10:02:42 +0000 (19:02 +0900)]
Process response_needed parameter in GATT Server
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] User couldn't know whether this write request require a
response or not
[Cause & Measure] Old bluez didn't provide the information about
response's necessity. Now bluez provides it so processing logic has been
implemented in this patch.
[Checking Method] Run GATT Server on DUT -> Send some Write Without
Response or Write Req from remote
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Change-Id: If519f964c86f7c786b92febc1104358184aef427
Sudha Bheemanna [Fri, 2 Dec 2016 05:36:59 +0000 (11:06 +0530)]
Disable HPS feature from binary
Disable inclusion of HPS feature in binary tizen 3.0
Change-Id: Ie70dfdbbf41bbd106869b3b04fcb6dadc0804eb1
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Pyun DoHyun [Fri, 2 Dec 2016 06:00:22 +0000 (22:00 -0800)]
Merge "bt-api: Do not log the _bt_check_privilege() using macro" into tizen_3.0
Pyun DoHyun [Fri, 2 Dec 2016 06:00:18 +0000 (22:00 -0800)]
Merge "bt-api: Fix incorrect macro expansion for service function" into tizen_3.0
Seungyoun Ju [Fri, 2 Dec 2016 01:47:26 +0000 (10:47 +0900)]
Recover bluetoothd crash
[Problem] After bluetoothd crash is happened, keep BT off state
[Cause & Measure] bluetoothd crash was not recovered
[Checking Method] Terminate bluetoothd (because of chipset malfunction)
Change-Id: Ie35d1ea2f43fc2ef678e8d59d02733bb85fda3a5
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Pyun DoHyun [Fri, 2 Dec 2016 02:35:06 +0000 (18:35 -0800)]
Merge "Recover bluetoothd crash" into tizen_3.0
Seungyoun Ju [Fri, 2 Dec 2016 01:47:26 +0000 (10:47 +0900)]
Recover bluetoothd crash
[Problem] After bluetoothd crash is happened, keep BT off state
[Cause & Measure] bluetoothd crash was not recovered
[Checking Method] Terminate bluetoothd (because of chipset malfunction)
Change-Id: I563c8873a78eb8fd6c6cf229e437886f6ea7e5c6
Signed-off-by: Injun Yang <injun.yang@samsung.com>
DoHyun Pyun [Fri, 2 Dec 2016 01:43:22 +0000 (10:43 +0900)]
Add response_needed parameter in the write value requested callback
Change-Id: Ife10ca1f323905ee615c61938042a09ccc38fdf0
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Injun Yang [Thu, 1 Dec 2016 11:55:43 +0000 (20:55 +0900)]
Fix : ADV_IND data is not present while le scanning
[Problem] While LE scanning, ADV_IND data is not present
[Cause & Measure] ADV_IND data is not delivered to application
[Checking Method] LE scan
Change-Id: I1c85c9877153290288822b8305c50323781dfe56
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Syam Sidhardhan [Wed, 30 Nov 2016 12:36:41 +0000 (18:06 +0530)]
bt-api: Do not log the _bt_check_privilege() using macro
Here we are replacing the _bt_send_request() macro with the
direct function call inorder to not print the _bt_check_privilege()
method call. This helps us in reducing the prints and also if there
is any error the caller is always printing the details.
- result = _bt_send_request(service_type, service_function,
+ result = _bt_sync_send_request(service_type, service_function
Change-Id: Ibe5b1d3acb4eff978b93ff4fdecb4ad2806b330a
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Syam Sidhardhan [Wed, 30 Nov 2016 12:35:00 +0000 (18:05 +0530)]
bt-api: Fix incorrect macro expansion for service function
The _bt_send_request() and _bt_send_request_async() macros are
designed in such a way that we should always pass a "#define value"
or "enum type" as the first two params. Otherwise it will just print
the variable name.
Change-Id: I137c59a780ffd0000cd79dbafe0379389405d5ce
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Biman Paul [Thu, 6 Oct 2016 08:22:11 +0000 (13:52 +0530)]
[Code Cleanup] Remove dbus-glib APIs and headers
[Problem] Unused deprecated dbus-glib code
[Cause & Measure] removed dbus-glib codes
Change-Id: I6d3108ec83e724ff41e111052489225ed92f476c
Nagaraj D R [Wed, 30 Nov 2016 06:58:50 +0000 (12:28 +0530)]
Fix "g_variant_get" API usage error
g_variant_get expects address, as its parameter
and not the local value
Change-Id: I221e26e43f03c4b2476a210190769668b31c3de1
Syam Sidhardhan [Wed, 30 Nov 2016 05:35:55 +0000 (11:05 +0530)]
bt-api: gatt-client: Fix memory leak
[Model]COMMON
[BinType] AP
[Customer]N/A
[Issue#]Memeory leak reported by cppcheck automated tool
[Request]Internal
[Occurrence Version]PK6
[Problem]Memeory leak reported by cppcheck tool
[Cause & Measure]We were no freeing the memory
[Checking Method]Gatt test tool
[Team]BT
[Developer]Syam Sidhardhan <s.syam@samsung.com>
[Solution company] Samsung
[Change Type]N/A
Change-Id: I2002d1f47cc3381a7db442cb72e3880af1a09aac
h.sandeep [Tue, 29 Nov 2016 11:41:15 +0000 (17:11 +0530)]
DPM: Sync API return value with other bt-service modules.
1. All the API return values synchronozed as per bt-service
modules.
2. Moved the getter API return values to API out parameter.
3. Fix the Svace 2.2 issue.
Change-Id: Ie76f2cbc913bfbdb567606635e0e817b2f237056
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
h.sandeep [Thu, 24 Nov 2016 11:12:56 +0000 (16:42 +0530)]
PXP: Modify APIs and Signal handle implementation
1. Add Seperate APIs for Monitor and reporter role.
2. Add implementation to moinotr the PID for reporter service.
3. Remove the property changed handler for monitor role.
Change-Id: I033bc604d7fc2971eecaa65647cec50af7f29840
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Tue, 29 Nov 2016 07:31:54 +0000 (16:31 +0900)]
Fix svace 2.2 version issues
Change-Id: I593775e64ae7d45a139ac2607b970dbd20abedb2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Deokhyun Kim [Tue, 29 Nov 2016 10:04:38 +0000 (19:04 +0900)]
Fix svace issues.
Change-Id: I8a3b5d42472a85ccbc907539409d612a7b9aff84
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Syam [Mon, 28 Nov 2016 08:32:47 +0000 (17:32 +0900)]
Fix incorrect memory validation for g_malloc*()
g_malloc*() will always return a valid memory address. If the
device is in out of memory case, g_malloc*() will assert.
Hence no need to validate the return value against NULL.
g_malloc*() will always return a memory address which is of type void *.
It doesn't make any sense to typecast this return address to another
pointer address. Ex: char *p = (char *)g_malloc0(..);
Change-Id: I84e772ea2879f2e00a9232922638e19075fd1c7f
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Injun Yang [Mon, 28 Nov 2016 06:52:20 +0000 (15:52 +0900)]
Apply glib log handler
Change-Id: I8edf281281e49358f8c9fe5872040f055bb09952
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Injun Yang [Mon, 28 Nov 2016 06:34:13 +0000 (15:34 +0900)]
Enhance debug message
Change-Id: I2b052ee4639667a3b4573c275843ae291d739c00
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Lee Hyuk [Thu, 24 Nov 2016 08:45:11 +0000 (17:45 +0900)]
Add the le_scan_event_id to bt-service receiver
Change-Id: I62dbbff395e84dd8897484783dbea15a8b8b331a
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
DoHyun Pyun [Thu, 24 Nov 2016 05:48:19 +0000 (14:48 +0900)]
Modify the codes for 64bit build
Change-Id: Ic2a9be77f79bb5b14480ee0d2f73ba08a794e902
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 21 Nov 2016 05:51:00 +0000 (14:51 +0900)]
Modify build feature names as Tizen 3.0 build option naming rule
Change-Id: I0eed29d2fd67d815317da42e68971dcbedc2fa46
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
h.sandeep [Mon, 17 Oct 2016 10:16:09 +0000 (15:46 +0530)]
HPS: Fix data_status value for http response.
Change-Id: Id76dd4b617cb563a14389d6ec5dcf187becb1f6b
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
h.sandeep [Mon, 17 Oct 2016 10:02:37 +0000 (15:32 +0530)]
HPS: Add support to use offset parameter.
This patch adds offset feature for read/write to
HPS attributes.
Change-Id: Iaa83a2a2ec8aee324e7562ac1a5bc763a958cf7f
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
h.sandeep [Tue, 16 Feb 2016 04:59:32 +0000 (10:29 +0530)]
HPS: Assign SIG defined UUIDs for HPS attributes
Change-Id: I4fdb50bd416e8b2a88eefa31a81446a99e9551f3
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Thu, 17 Nov 2016 06:19:19 +0000 (15:19 +0900)]
Remove line number printing in the test application
Change-Id: I48e8620e6a03b897c0dcbb813bb912b8089fb12b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 17 Nov 2016 03:06:28 +0000 (12:06 +0900)]
Remove the debug message for TC
Change-Id: I93aad05022b19f5140f3470df796b1ed1b00905d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 16 Nov 2016 02:33:02 +0000 (18:33 -0800)]
Merge "Fix the warning errors" into tizen_3.0
DoHyun Pyun [Wed, 16 Nov 2016 01:31:47 +0000 (10:31 +0900)]
Fix the warning errors
Change-Id: If78506ba152762a927a3fcf6cd2f5419f411902f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Tue, 15 Nov 2016 05:57:00 +0000 (21:57 -0800)]
Merge "Modify the transfer file name set" into tizen_3.0
Hyuk Lee [Tue, 15 Nov 2016 05:44:33 +0000 (14:44 +0900)]
Modify the transfer file name set
Change-Id: I52dabf72a63bbb50e768a7ced59b972b67e940a4
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
h.sandeep [Mon, 14 Nov 2016 08:55:42 +0000 (14:25 +0530)]
iBeacon: Remove the ibeacon report signal handling
The iBeacon report shall be extracted from AdvReport signal
at CAPI layer as part of LE Device Found Updated callback
Revert the below patch
====================================================
iBeacon: Add support for handling iBeacon reports.
Change-Id: Ib0658eb8e610da76a588bb7f2cb21d580759626a
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
=====================================================
Change-Id: I394a018271166af60c8bf28c981124e63606c820
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Pyun DoHyun [Tue, 15 Nov 2016 04:37:29 +0000 (20:37 -0800)]
Merge "Disconnect rfcomm connections" into tizen_3.0
Pyun DoHyun [Tue, 15 Nov 2016 04:36:35 +0000 (20:36 -0800)]
Merge "Disconnect all profiles if a device is restricted by DPM" into tizen_3.0
Pyun DoHyun [Tue, 15 Nov 2016 04:35:53 +0000 (20:35 -0800)]
Merge "Reject new rfcomm connection when DPM disallow it" into tizen_3.0
Seungyoun Ju [Thu, 13 Oct 2016 11:59:02 +0000 (20:59 +0900)]
Disconnect rfcomm connections
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] P161013-00685
[Request] PLM
[Occurrence Version] R735AUCU2CPJ3
Since MDM is not used in Tizen 3.0, only the disconnect all connections
function is retained in this patch while merging from SLP.
[Problem] sapd is not working when SPP MDM policy is changed
from "disallow" to "allow"
[Cause & Measure] sapd doesn't consider this scenario and it just blocks
the communication once socket API's return error code. But our policy is also
not consistent (Only Tx is disallowed when SPP policy is restricted.
But the connection is alive and Rx is possible).
So it is better to disconnect the SPP when it is restricted.
And in this case, BT_ERROR_OPERATION_FAILED is returned to service daemon
so it is hard to decide whether this failure is caused by MDM or not.
So disconnection is implemented in bt-api when SPP MDM policy is restricted.
[Checking Method] Make SPP connection -> Change SPP policy to restricted
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Iaaa18b7f786477123ae485dc4564c0189e730642
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: Iaaa18b7f786477123ae485dc4564c0189e730642
Sangki Park [Tue, 20 Sep 2016 08:32:53 +0000 (17:32 +0900)]
Disconnect all profiles if a device is restricted by DPM
[Model] R765
[BinType] AP
[Customer] N/A
[Issue#] P160919-02331
[Request] PLM
[Occurrence Version] N/A
[Problem] A device is not disconnected even if it is set to blacklist device
[Cause & Measure] Not implemented
[Checking Method] connect -> set the device to blacklist using dpm-toolkit
[Team] Basic connection
[Developer] Sangki Park
[Solution company] Samsung
[Change Type] Specific change
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: I64e8cac1dd64482ffa0f09593a2fe475c0690486
Seungyoun Ju [Fri, 14 Oct 2016 05:22:17 +0000 (14:22 +0900)]
Reject new rfcomm connection when DPM disallow it
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] P161013-00685
[Request] PLM
[Occurrence Version] R735AUCU2CPJ3
Code modified according to DPM poliy.
[Problem] After SPP MDM policy is restricted and the device is rebooted,
service daemon cannot create RFCOMM server socket. But it cannot know
when MDM policy is changed to "allowed". So until BT is turned off and
on, related service cannot run.
[Cause & Measure] RFCOMM server socket creation / listen / accept
operations are blocked by MDM. But it is better to block new
connections. So that, service layer doesn't need to consider MDM policy.
[Checking Method] Restrict SPP MDM Policy -> Reboot -> Allow SPP MDM
policy -> Check service (sapd) working state.
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: Ie12949dde1f9fc50adb5fb86325de9a7da00fb8f
DoHyun Pyun [Mon, 14 Nov 2016 01:20:02 +0000 (10:20 +0900)]
Fix a svace issue
Change-Id: I2ac95d446e36bcb0645271cd03c7a8c7026871a0
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 14 Nov 2016 00:52:07 +0000 (09:52 +0900)]
Fix coding style warnings and errors
Change-Id: I7a5f2a282d65e2ce7d6c083b95b1007422483888
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 11 Nov 2016 05:25:39 +0000 (14:25 +0900)]
Add the bluetooth_opp_get_transfer_progress function
Change-Id: I32cce2c9ca1f41e0f69571b65571f1b8e36fd2f5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Fri, 11 Nov 2016 04:01:59 +0000 (13:01 +0900)]
Fix the Svace issue
Change-Id: I3017c03e1cf480ba6e983e2d2a8584654b6ceb28
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Taejin Woo [Thu, 10 Nov 2016 01:41:50 +0000 (10:41 +0900)]
Fix to recover bt_adapter when turn on flight mode
- When turn on and off flight mode, don't recovery BT's before state
Change-Id: Ie58ceb5a4a8e3e1c339cef6a2fade9e9a99ff94d
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
h.sandeep [Wed, 9 Nov 2016 04:39:27 +0000 (10:09 +0530)]
PXP: Handle properties changed signal for Monitor role.
Change-Id: I769fab953ff4b30dd5f23cacca58ba34822f5514
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Gowtham Anandha Babu [Thu, 27 Oct 2016 12:43:30 +0000 (18:13 +0530)]
Add base code for register/unregister
1) Added base code for registering and unregistering
proximity services.
Change-Id: I974a6858a2f5f68f6d6438522238284097bac3a4
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
h.sandeep [Tue, 25 Oct 2016 04:03:59 +0000 (09:33 +0530)]
PXP: Add base code for Proximity Profile Monitor Role.
Change-Id: Ic82000a4a752bb05a52864ac4ad6cb6fe51a5526
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Taejin Woo [Tue, 8 Nov 2016 02:32:02 +0000 (11:32 +0900)]
Fix the coding rule
Change-Id: I4ac683f477e9221639b25d2fc162dd469281144d
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
DoHyun Pyun [Thu, 3 Nov 2016 02:00:34 +0000 (11:00 +0900)]
Merge the code from private
branch:devel/bluetooth/master
=================================================
commit
da8a21b4dd39e2aa6ea65bae11e1e5ecf63aa8a5
Author: Seungyoun Ju <sy39.ju@samsung.com>
Date: Tue Oct 4 20:41:11 2016 +0900
==================================================
Change-Id: Id49c1b85280456b4914d14437c2fa2533764f67a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 2 Nov 2016 02:58:50 +0000 (11:58 +0900)]
Set the connectable mode for IVI profile
Change-Id: I4eebfde2ab90749ff0deb974ee183475540a52de
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
h.sandeep [Wed, 5 Oct 2016 04:17:18 +0000 (09:47 +0530)]
iBeacon: Add support for handling iBeacon reports.
Change-Id: Ib0658eb8e610da76a588bb7f2cb21d580759626a
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Tue, 25 Oct 2016 05:08:02 +0000 (14:08 +0900)]
Implement the getter function about the pbap connected status
Change-Id: Id0144a9f943a3d273992e13fd82f29ff2716fef6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 28 Oct 2016 04:03:17 +0000 (13:03 +0900)]
Enable bt_adapter_recover function in the platform
Change-Id: Iadf775ef2f726cff72c3acfe262ff38362a279e9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 25 Oct 2016 08:20:09 +0000 (17:20 +0900)]
Remove BT enable check logic in pbap init / deinit
Change-Id: I6b61a5f730127fc1117680e93ffb63cadaff1686
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 19 Oct 2016 01:57:11 +0000 (10:57 +0900)]
Fix the bug about the connected status
Change-Id: Ie12d341c2b5162e194b9271a3fcbfda5cda9f7ce
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 17 Oct 2016 02:38:09 +0000 (11:38 +0900)]
Don't add the recovery logic into the platform image
Change-Id: I49fb518601558212ff9b6f6d94fa90a9eee245df
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 6 Oct 2016 03:23:33 +0000 (12:23 +0900)]
Retry to initialize the obexd event receiver
Change-Id: Ic85e585059604acf25d2b810bece731d8561d888
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 6 Oct 2016 02:23:50 +0000 (11:23 +0900)]
Send the PBAP disconnected event at once
Change-Id: Id93c98eff69334ed4dba0d048c8d8ae973933854
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 5 Oct 2016 09:05:04 +0000 (18:05 +0900)]
Return the proper error when it is no discovery state
Change-Id: I366ce94bfb71d3c63a88faaf75a0fc980f035dad
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 5 Oct 2016 02:39:48 +0000 (11:39 +0900)]
Send the correct event for PBAP disconnected
Change-Id: Ie4a108adafc8b0cb7f3c6296250e0fdcf4bfee17
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 4 Oct 2016 23:19:05 +0000 (08:19 +0900)]
Fix the return value of the function providing connected status (TSAM-8605)
Change-Id: I805af963a64364b478d30051a244bc7fa3bb8ce1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 4 Oct 2016 01:30:14 +0000 (10:30 +0900)]
Remove the exception case for XU3 LE scanning
Kernel's patchset was completed. So LE scan in XU3 will work.
Change-Id: Ic716670369831efc3d9c7933c954603ec5f284c2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Tue, 4 Oct 2016 00:21:38 +0000 (09:21 +0900)]
Fix the Svace issue
- WGID : 142974
Change-Id: Id13548be16ca83e19b83ba7c6967df795021d9a6
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>