SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wcast-align")
ADD_DEFINITIONS("-DFEATURE_DLOG_DEBUG")
-ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"TEL_PLUGIN_DBUS_TAPI\"")
+ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"DBUS_TAPI\"")
ADD_DEFINITIONS("-DPLUGIN_VERSION=${VERSION}")
MESSAGE(${CMAKE_C_FLAGS})
const char *cp_name;
char *path = NULL;
+ dbg("Notification!!! (command = 0x%x, data_len = %d)", command, data_len);
+
if (command == TNOTI_SERVER_ADDED_PLUGIN)
p = (TcorePlugin *)data;
else
cp_name = tcore_server_get_cp_name_by_plugin(p);
if (cp_name == NULL)
return TCORE_RETURN_FAILURE;
-
- dbg("Notification!!! (command = 0x%x, data_len = %d)", command, data_len);
+ dbg("CP Name: [%s]", cp_name);
ctx = tcore_communicator_ref_user_data(comm);
if (ctx == NULL) {
return TCORE_RETURN_FAILURE;
}
- dbg("CP Name: [%s]", path);
if (cp_name) {
path = g_strdup_printf("%s/%s", MY_DBUS_PATH, cp_name);
}
telephony_modem_emit_dun_external_call(modem, TRUE);
break;
+ case TNOTI_MODEM_ADDED:
+ break;
+
default:
dbg("not handled command[0x%x]", command);
break;