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_obex_server_id(BT_NO_SERVER);
+ _bt_reset_battery_monitor_info();
+
_bt_gdbus_deinit_proxys();
if (profile_gproxy) {