return &user_info[type];
}
-int _bt_common_send_rfcomm_rx_details(bluetooth_rfcomm_received_data_t *data)
+int _bt_common_send_rfcomm_rx_details(int len)
{
uid_t uid = getuid();
pid_t pid = getpid();
- int size = data->buffer_size;
+ int size = len;
int ret = BLUETOOTH_ERROR_NONE;
BT_INFO("+");
in_param1, in_param2, in_param3, in_param4, &out_param);
BT_FREE_PARAMS(in_param1, in_param2, in_param3, in_param4, out_param);
- BT_DBG("-");
+ BT_INFO("-");
return ret;
}
void _bt_common_event_cb(int event, int result, void *param,
void *callback, void *user_data)
{
- BT_DBG("+");
bluetooth_event_param_t bt_event = { 0, };
bt_event.event = event;
bt_event.result = result;
{BT_SET_SPEAKER_GAIN, "BT_SET_SPEAKER_GAIN"},
{BT_SET_CONTENT_PROTECT, "BT_SET_CONTENT_PROTECT"},
{BT_AUDIO_SELECT_ROLE, "BT_AUDIO_SELECT_ROLE"},
+ {BT_AUDIO_SET_ABSOLUTE_VOLUME, "BT_AUDIO_SET_ABSOLUTE_VOLUME"},
+ {BT_AUDIO_GET_ABSOLUTE_VOLUME, "BT_AUDIO_GET_ABSOLUTE_VOLUME"},
+ {BT_AUDIO_IS_AVC_ACTIVATED, "BT_AUDIO_IS_AVC_ACTIVATED"},
{BT_OOB_READ_LOCAL_DATA, "BT_OOB_READ_LOCAL_DATA"},
{BT_OOB_ADD_REMOTE_DATA, "BT_OOB_ADD_REMOTE_DATA"},
{BT_OOB_REMOVE_REMOTE_DATA, "BT_OOB_REMOVE_REMOTE_DATA"},
if (fgets(buf, 256, fp) != NULL) {
str_list = g_strsplit(buf, " ", -1);
- if (str_list[0] != '\0')
+ if (str_list[0] != NULL)
BT_INFO("Caller : %s", str_list[0]);
g_strfreev(str_list);
}
_bt_set_obex_server_id(BT_NO_SERVER);
+ _bt_reset_battery_monitor_info();
+
_bt_gdbus_deinit_proxys();
if (profile_gproxy) {
return BLUETOOTH_ERROR_NONE;
}
-