From: kj7.sung Date: Wed, 2 Aug 2017 00:37:05 +0000 (+0900) Subject: Change dbus policy to receive broadcast signal X-Git-Tag: submit/tizen_3.0/20170802.060041^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0;p=platform%2Fcore%2Flocation%2Flbs-server.git Change dbus policy to receive broadcast signal Change-Id: I16b77ea58d6cda38ee993676e2f90a42c9e11102 Signed-off-by: kj7.sung --- diff --git a/AUTHORS b/AUTHORS index 01fda69..780f674 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,3 +1,5 @@ +Kyoungjun Sung +Seechan Kim Youngae Kang Minjune Kim Genie Kim diff --git a/lbs-server/config/lbs-server.conf b/lbs-server/config/lbs-server.conf index 5591193..463d13d 100644 --- a/lbs-server/config/lbs-server.conf +++ b/lbs-server/config/lbs-server.conf @@ -5,7 +5,6 @@ - @@ -17,34 +16,34 @@ - - + - - - - - - - - - - - + + + + + - + + + + + + diff --git a/lbs-server/include/gps_plugin_data_types.h b/lbs-server/include/gps_plugin_data_types.h index 9fbdac3..96f22f0 100644 --- a/lbs-server/include/gps_plugin_data_types.h +++ b/lbs-server/include/gps_plugin_data_types.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/include/gps_plugin_extra_data_types.h b/lbs-server/include/gps_plugin_extra_data_types.h index f815489..6535a1e 100644 --- a/lbs-server/include/gps_plugin_extra_data_types.h +++ b/lbs-server/include/gps_plugin_extra_data_types.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/include/gps_plugin_intf.h b/lbs-server/include/gps_plugin_intf.h index 221bcc4..c9a1a4a 100644 --- a/lbs-server/include/gps_plugin_intf.h +++ b/lbs-server/include/gps_plugin_intf.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/include/nps_plugin_intf.h b/lbs-server/include/nps_plugin_intf.h index 3e392f6..cf4672c 100644 --- a/lbs-server/include/nps_plugin_intf.h +++ b/lbs-server/include/nps_plugin_intf.h @@ -3,10 +3,6 @@ * * Copyright (c) 2010-2013 Samsung Electronics Co., Ltd All Rights Reserved * - * Contact: Youngae Kang , - * Genie Kim , Minjune Kim , - * Ming Zhu - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -24,7 +20,7 @@ #define _NPS_PLUGIN_INTF_H_ #define NPS_UNIQUE_ID_LEN (20) -#define NPS_PLUGIN_PATH "/usr/lib/libSLP-nps-plugin.so" +#define NPS_PLUGIN_PATH LIB_DIR"/libSLP-nps-plugin.so" typedef struct { double latitude; /* decimal degree (WGS84) */ diff --git a/lbs-server/src/data_connection.c b/lbs-server/src/data_connection.c index 6440642..4b8557e 100644 --- a/lbs-server/src/data_connection.c +++ b/lbs-server/src/data_connection.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/data_connection.h b/lbs-server/src/data_connection.h index a98f6f6..f7887e9 100644 --- a/lbs-server/src/data_connection.h +++ b/lbs-server/src/data_connection.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/debug_util.h b/lbs-server/src/debug_util.h index a2f0252..53ead27 100644 --- a/lbs-server/src/debug_util.h +++ b/lbs-server/src/debug_util.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/dump_log.c b/lbs-server/src/dump_log.c index 45f4b3c..cfc9bad 100644 --- a/lbs-server/src/dump_log.c +++ b/lbs-server/src/dump_log.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/dump_log.h b/lbs-server/src/dump_log.h index 1bc5fa9..a019909 100644 --- a/lbs-server/src/dump_log.h +++ b/lbs-server/src/dump_log.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/gps_plugin_module.c b/lbs-server/src/gps_plugin_module.c index e3821a2..5aed089 100644 --- a/lbs-server/src/gps_plugin_module.c +++ b/lbs-server/src/gps_plugin_module.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/gps_plugin_module.h b/lbs-server/src/gps_plugin_module.h index 62a675c..e9fa660 100644 --- a/lbs-server/src/gps_plugin_module.h +++ b/lbs-server/src/gps_plugin_module.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/last_position.c b/lbs-server/src/last_position.c index 9e65b71..8e9cc38 100755 --- a/lbs-server/src/last_position.c +++ b/lbs-server/src/last_position.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -36,7 +33,7 @@ void gps_set_last_position(const pos_data_t *pos) { if (pos == NULL) return; - LOG_GPS(DBG_LOW, "set_last_position[%d]", pos->timestamp); + LOG_GPS(DBG_LOW, "set_last_position[%ld]", pos->timestamp); char location[128] = {0,}; snprintf(location, sizeof(location), "%.6lf;%.6lf;%.2lf;%.2lf;%.2lf;%.2lf;%.2lf;", pos->latitude, pos->longitude, pos->altitude, pos->speed, pos->bearing, pos->hor_accuracy, pos->ver_accuracy); @@ -129,7 +126,7 @@ void gps_get_last_position(pos_data_t *last_pos) last_location[index] = (char *)strtok_r(NULL, ";", &last); } - LOG_GPS(DBG_LOW, "get_last_position[%d]", last_pos->timestamp); + LOG_GPS(DBG_LOW, "get_last_position[%ld]", last_pos->timestamp); } void gps_set_last_mock(int timestamp, double lat, double lon, double alt, double spd, double dir, double h_acc) diff --git a/lbs-server/src/last_position.h b/lbs-server/src/last_position.h index 010f5f8..2bbe5b6 100644 --- a/lbs-server/src/last_position.h +++ b/lbs-server/src/last_position.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/lbs_server.c b/lbs-server/src/lbs_server.c index e6bd81c..2a3b699 100755 --- a/lbs-server/src/lbs_server.c +++ b/lbs-server/src/lbs_server.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/lbs_server.h b/lbs-server/src/lbs_server.h index bb52ca8..41437ac 100755 --- a/lbs-server/src/lbs_server.h +++ b/lbs-server/src/lbs_server.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/nmea_logger.c b/lbs-server/src/nmea_logger.c index 5d19f6a..4b53c86 100644 --- a/lbs-server/src/nmea_logger.c +++ b/lbs-server/src/nmea_logger.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/nmea_logger.h b/lbs-server/src/nmea_logger.h index f9132c8..443c045 100644 --- a/lbs-server/src/nmea_logger.h +++ b/lbs-server/src/nmea_logger.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/nps_plugin_module.c b/lbs-server/src/nps_plugin_module.c index 5fa7ed3..f9ce3e4 100644 --- a/lbs-server/src/nps_plugin_module.c +++ b/lbs-server/src/nps_plugin_module.c @@ -3,10 +3,6 @@ * * Copyright (c) 2010-2013 Samsung Electronics Co., Ltd All Rights Reserved * - * Contact: Youngae Kang , Dong Wei , - * Genie Kim , Minjune Kim , - * Ming Zhu , Congyi Shi - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -59,15 +55,14 @@ int nps_is_dummy_plugin_module() int nps_load_plugin_module(void **plugin_handle) { - LOG_NPS(DBG_LOW, "Begin to load plugin module"); + LOG_NPS(DBG_LOW, "Begin to load NPS plugin module"); char plugin_path[256] = {0}; strncpy(plugin_path, NPS_PLUGIN_PATH, sizeof(plugin_path)); if (access(plugin_path, R_OK) != 0) { - LOG_NPS(DBG_ERR, "Failed to access plugin module. [%s]", plugin_path); - LOG_NPS(DBG_LOW, "load dummy"); + LOG_NPS(DBG_ERR, "Failed to access NPS plugin[%s]. Dummy loading", plugin_path); g_plugin = &g_dummy; g_is_nps_dummy_module = TRUE; return TRUE; @@ -76,7 +71,7 @@ int nps_load_plugin_module(void **plugin_handle) *plugin_handle = dlopen(plugin_path, RTLD_NOW); if (!*plugin_handle) { LOG_NPS(DBG_ERR, "Failed to load plugin module. [%s]", plugin_path); - /* LOG_NPS(DBG_ERR, "%s", dlerror()); */ + LOG_NPS(DBG_ERR, "%s", dlerror()); return FALSE; } diff --git a/lbs-server/src/nps_plugin_module.h b/lbs-server/src/nps_plugin_module.h index 3428a9b..50a726a 100644 --- a/lbs-server/src/nps_plugin_module.h +++ b/lbs-server/src/nps_plugin_module.h @@ -3,10 +3,6 @@ * * Copyright (c) 2010-2013 Samsung Electronics Co., Ltd All Rights Reserved * - * Contact: Youngae Kang , Dong Wei , - * Genie Kim , Minjune Kim , - * Ming Zhu , Congyi Shi - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/server.c b/lbs-server/src/server.c index d09fe83..d09fa11 100644 --- a/lbs-server/src/server.c +++ b/lbs-server/src/server.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/server.h b/lbs-server/src/server.h index 1c8cea0..5fcd7c7 100644 --- a/lbs-server/src/server.h +++ b/lbs-server/src/server.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/setting.c b/lbs-server/src/setting.c index cc5dbff..6e67bee 100644 --- a/lbs-server/src/setting.c +++ b/lbs-server/src/setting.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/lbs-server/src/setting.h b/lbs-server/src/setting.h index 8aa6cd0..723b4a0 100644 --- a/lbs-server/src/setting.h +++ b/lbs-server/src/setting.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/module/gps_module.c b/module/gps_module.c index d306343..eee096c 100644 --- a/module/gps_module.c +++ b/module/gps_module.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/module/log.h b/module/log.h index 14fac72..d29eb22 100644 --- a/module/log.h +++ b/module/log.h @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/module/nps_module.c b/module/nps_module.c index 976bd79..bc16b35 100644 --- a/module/nps_module.c +++ b/module/nps_module.c @@ -3,10 +3,6 @@ * * Copyright (c) 2010-2013 Samsung Electronics Co., Ltd All Rights Reserved * - * Contact: Youngae Kang , Dong Wei , - * Genie Kim , Minjune Kim , - * Ming Zhu , Congyi Shi - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/module/passive_module.c b/module/passive_module.c index e722c9f..0ae9c47 100644 --- a/module/passive_module.c +++ b/module/passive_module.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved. * - * Contact: Youngae Kang , Minjune Kim - * Genie Kim - * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/packaging/lbs-server.changes b/packaging/lbs-server.changes index 5a5f00f..446f603 100644 --- a/packaging/lbs-server.changes +++ b/packaging/lbs-server.changes @@ -1,3 +1,9 @@ +[Version] lbs-server_1.1.7 +[Date] 2 Aug 2017 +[Changes] Change dbus policy to receive broadcast signal +[Developer] Kyoungjun Sung + +================================================================================ [Version] lbs-server_1.1.6 [Date] 28 Mar 2017 [Changes] Fix dynamic interval to support multi handle diff --git a/packaging/lbs-server.spec b/packaging/lbs-server.spec index 7465586..3590168 100644 --- a/packaging/lbs-server.spec +++ b/packaging/lbs-server.spec @@ -1,6 +1,6 @@ Name: lbs-server Summary: LBS Server for Tizen -Version: 1.1.6 +Version: 1.1.7 Release: 1 Group: Location/Service License: Apache-2.0