I did debug obex-data-server and edited the source a bit. I found the following 
in syslog:
Nov  3 09:57:38 debian obex-data-server[1848]: **Warning: Couldn't connect to 
SDP server (Jessietesting)
Nov  3 09:57:38 debian obex-data-server[1848]: **Warning: Could not add SDP 
record for server (/org/openobex/server1), closing server

when the obex-data-server starts with 
obex-data-server-0.4.6/data/obex-data-server.service edited to:
[D-BUS Service]
Name=org.openobex
Exec=/usr/bin/obex-data-server --no-daemon  --log --debug

First warning comes from obex-data-server-0.4.6/src/ods-bluez.c:
static sdp_session_t*
sdp_session_get (const gchar *device, gboolean create_new)
{
        SdpSessionRecords *recs;
        sdp_session_t *session;
        bdaddr_t src;

        if (sdp_session_list &&
                (recs = g_hash_table_lookup (sdp_session_list, device))) {
                return recs->session;
        }
        if (!create_new)
                return NULL;

        str2ba (device, &src);
        //session = sdp_connect (&src, BDADDR_ANY, SDP_RETRY_IF_BUSY);
        session = sdp_connect( BDADDR_ANY, BDADDR_LOCAL, SDP_RETRY_IF_BUSY );
        if (!session) {
                g_warning ("Couldn't connect to SDP server (Jessietesting)");
                /*char buf[50];
                memset(buf, 0, sizeof(buf));
                strcpy(buf,device);
                g_warning (buf);*/
                return NULL;
        }
        return session;
}

As you see i have tried several sdp_connect calls and i noticed by default 
"device" is "00:00:00:00:00:00". I feel that this problem is something to do 
with systemd as it is a big system change from wheezy.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to