+Kyoungjun Sung <kj7.sung@samsung.com>
+Seechan Kim <cbible.kim@samsung.com>
Youngae Kang <youngae.kang@samsung.com>
Minjune Kim <sena06.kim@gmail.com>
Genie Kim <daejins.kim@samsung.com>
<!-- root can own the service -->
<policy user="root">
<allow own="org.tizen.lbs.Providers.LbsServer"/>
-
<!-- Allow all methods on interfaces -->
<allow send_destination="org.tizen.lbs.Providers.LbsServer"/>
<allow receive_sender="org.tizen.lbs.Providers.LbsServer"/>
<allow receive_sender="org.tizen.lbs.Providers.LbsServer"/>
</policy>
- <!-- for Test
- <policy at_console="true">
- <allow own="org.tizen.lbs.Providers.LbsServer"/>
- <allow send_destination="org.tizen.lbs.Providers.LbsServer"/>
- <allow receive_sender="org.tizen.lbs.Providers.LbsServer"/>
- </policy>
- -->
-
<policy context="default">
<allow own="org.tizen.lbs.Providers.LbsServer"/>
<deny send_destination="org.tizen.lbs.Providers.LbsServer"/>
+ <allow send_type="signal" send_destination="org.tizen.lbs.Providers.LbsServer"/>
<allow receive_sender="org.tizen.lbs.Providers.LbsServer"/>
- <check send_destination="org.tizen.lbs.Providers.LbsServer" send_interface="org.tizen.lbs.Manager" privilege="http://tizen.org/privilege/location" />
- <check send_destination="org.tizen.lbs.Providers.LbsServer" send_interface="org.tizen.lbs.Position" privilege="http://tizen.org/privilege/location" />
- <check send_destination="org.tizen.lbs.Providers.LbsServer" send_interface="org.tizen.lbs.Nmea" privilege="http://tizen.org/privilege/location" />
- <check send_destination="org.tizen.lbs.Providers.LbsServer" send_interface="org.tizen.lbs.Satellite" privilege="http://tizen.org/privilege/location" />
- <check send_destination="org.tizen.lbs.Providers.LbsServer" send_interface="org.tizen.lbs.Batch" privilege="http://tizen.org/privilege/location" />
- <check receive_sender="org.tizen.lbs.Providers.LbsServer" receive_interface="org.tizen.lbs.Manager" privilege="http://tizen.org/privilege/location" />
- <check receive_sender="org.tizen.lbs.Providers.LbsServer" receive_interface="org.tizen.lbs.Position" privilege="http://tizen.org/privilege/location" />
- <check receive_sender="org.tizen.lbs.Providers.LbsServer" receive_interface="org.tizen.lbs.Position" privilege="http://tizen.org/privilege/location" />
- <check receive_sender="org.tizen.lbs.Providers.LbsServer" receive_interface="org.tizen.lbs.Nmea" privilege="http://tizen.org/privilege/location" />
- <check receive_sender="org.tizen.lbs.Providers.LbsServer" receive_interface="org.tizen.lbs.Satellite" privilege="http://tizen.org/privilege/location" />
- <check receive_sender="org.tizen.lbs.Providers.LbsServer" receive_interface="org.tizen.lbs.Batch" privilege="http://tizen.org/privilege/location" />
+ <check send_destination="org.tizen.lbs.Providers.LbsServer"
+ send_interface="org.tizen.lbs.Manager" privilege="http://tizen.org/privilege/location" />
+ <check send_destination="org.tizen.lbs.Providers.LbsServer"
+ send_interface="org.tizen.lbs.Position" privilege="http://tizen.org/privilege/location" />
+ <check send_destination="org.tizen.lbs.Providers.LbsServer"
+ send_interface="org.tizen.lbs.Nmea" privilege="http://tizen.org/privilege/location" />
+ <check send_destination="org.tizen.lbs.Providers.LbsServer"
+ send_interface="org.tizen.lbs.Satellite" privilege="http://tizen.org/privilege/location" />
+ <check send_destination="org.tizen.lbs.Providers.LbsServer"
+ send_interface="org.tizen.lbs.Batch" privilege="http://tizen.org/privilege/location" />
- <!-- This tag is for HW geofence
- <allow send_interface="org.tizen.lbs.Geofence"/>
- <allow receive_interface="org.tizen.lbs.Geofence"/>
- -->
+ <check receive_sender="org.tizen.lbs.Providers.LbsServer"
+ receive_interface="org.tizen.lbs.Manager" privilege="http://tizen.org/privilege/location" />
+ <check receive_sender="org.tizen.lbs.Providers.LbsServer"
+ receive_interface="org.tizen.lbs.Position" privilege="http://tizen.org/privilege/location" />
+ <check receive_sender="org.tizen.lbs.Providers.LbsServer"
+ receive_interface="org.tizen.lbs.Position" privilege="http://tizen.org/privilege/location" />
+ <check receive_sender="org.tizen.lbs.Providers.LbsServer"
+ receive_interface="org.tizen.lbs.Nmea" privilege="http://tizen.org/privilege/location" />
+ <check receive_sender="org.tizen.lbs.Providers.LbsServer"
+ receive_interface="org.tizen.lbs.Satellite" privilege="http://tizen.org/privilege/location" />
+ <check receive_sender="org.tizen.lbs.Providers.LbsServer"
+ receive_interface="org.tizen.lbs.Batch" privilege="http://tizen.org/privilege/location" />
</policy>
</busconfig>
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2010-2013 Samsung Electronics Co., Ltd All Rights Reserved
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>,
- * Ming Zhu <mingwu.zhu@samsung.com>
- *
* 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
#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) */
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
{
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);
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)
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2010-2013 Samsung Electronics Co., Ltd All Rights Reserved
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Dong Wei <d.wei@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>,
- * Ming Zhu <mingwu.zhu@samsung.com>, Congyi Shi <congyi.shi@samsung.com>
- *
* 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
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;
*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;
}
*
* Copyright (c) 2010-2013 Samsung Electronics Co., Ltd All Rights Reserved
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Dong Wei <d.wei@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>,
- * Ming Zhu <mingwu.zhu@samsung.com>, Congyi Shi <congyi.shi@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
*
* Copyright (c) 2010-2013 Samsung Electronics Co., Ltd All Rights Reserved
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Dong Wei <d.wei@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>,
- * Ming Zhu <mingwu.zhu@samsung.com>, Congyi Shi <congyi.shi@samsung.com>
- *
* 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
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* 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
+[Version] lbs-server_1.1.7
+[Date] 2 Aug 2017
+[Changes] Change dbus policy to receive broadcast signal
+[Developer] Kyoungjun Sung <kj7.sung@samsung.com>
+
+================================================================================
[Version] lbs-server_1.1.6
[Date] 28 Mar 2017
[Changes] Fix dynamic interval to support multi handle
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