event_index = __bt_get_cb_index(event);
if (event_index != -1 && bt_event_slot_container[event_index].callback)
return true;
- else
- BT_DBG("Event [%d] would not handled, not found in bt_event_slot_container", event);
return false;
}
static void __bt_event_proxy(int event, bluetooth_event_param_t *param, void *user_data)
{
- BT_DBG("Entered for event: %d", event);
-
int call_id;
int *avrcp_mode;
int *discoverable_timeout;
}
#endif
case BLUETOOTH_EVENT_GATT_CHAR_VAL_CHANGED:
- BT_INFO("BLUETOOTH_EVENT_GATT_CHAR_VAL_CHANGED");
char_val = (bt_gatt_char_value_t *)(param->param_data);
#ifdef TIZEN_FEATURE_ENABLE_LEGACY_GATT_CLIENT
param->param_data);
break;
case BLUETOOTH_EVENT_GATT_WRITE_CHAR:
- BT_INFO("BLUETOOTH_EVENT_GATT_WRITE_CHAR");
-
#ifdef TIZEN_FEATURE_ENABLE_LEGACY_GATT_CLIENT
if (_bt_gatt_is_legacy_client_mode()) {
((bt_gatt_characteristic_write_cb)bt_event_slot_container[event_index].callback)
if ((*discovery_info)->service_uuid[i] != NULL)
__bt_convert_lower_to_upper((*discovery_info)->service_uuid[i]);
- BT_INFO("UUID: %s", (*discovery_info)->service_uuid[i]);
}
}
} else
if (connected) {
TC_PRT("GATT connected [%s]", remote_address);
+ strncpy(remote_addr, remote_address, strlen(remote_addr));
bt_le_conn_update_s param;