Index: src/ods-bluez.c =================================================================== --- src/ods-bluez.c (Revision 2836) +++ src/ods-bluez.c (Arbeitskopie) @@ -179,6 +179,7 @@ sdp_list_t *protos = NULL; gint channel = -1; +#if 0 g_message ("getting RFCOMM channel"); /* get channel for this service */ if (sdp_get_access_protos (sdp_record, &protos) != 0) { @@ -188,6 +189,9 @@ } channel = sdp_get_proto_port (protos, RFCOMM_UUID); +#else + channel = 10; +#endif cb_data->channel = channel; if (cb_data->uuid.value.uuid16 == IMAGING_RESPONDER_SVCLASS_ID) {