From: Ari Paavilainen <arip@iki.fi>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] sdp_record_register()
Date: Fri, 10 Feb 2006 13:45:10 +0200 [thread overview]
Message-ID: <1139571910.8700.7.camel@localhost.localdomain> (raw)
In-Reply-To: <1139402899.29208.10.camel@localhost>
On Wed, 2006-02-08 at 13:48 +0100, Marcel Holtmann wrote:
> Hi Ari,
>
> > > > Function call:
> > > > err = sdp_record_register(session, record, 0);
> > > > returns zero and error is 'Illegal seek'.
> > > > Arguments should be ok (session is return value of successful call to
> > > > sdp_connect() and record works ok with another function calls).
> > > > What might be wrong?
> > >
> > > the sdp_connect() has been done to the local SDP server, right. You
> > > can't register SDP records for remote connections.
> > >
> >
> > In sdp_record_register() there is:
> >
> > if (!session->local) {
> > errno = EREMOTE;
> > return -1;
> > }
> >
> > Did you mean this by the remote connection (the program passes this test)?
> > Anyway, it seems to be that the only way to sdp_record_register() return ESPIPE (Illegal seek) error is when call to sdp_send_req_w4_rsp() fails. Does this give any hint?
>
> make sure that sdpd process is running. Follow the examples from sdptool
> or pand.
>
sdpd is running. In 'sdptool.c' there is no call to
'sdp_record_register()'. Is there any other examples of registering a
service record?
-Ari
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2006-02-10 11:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-07 11:44 [Bluez-devel] sdp_record_register() Ari Paavilainen
2006-02-07 23:56 ` Marcel Holtmann
2006-02-08 11:27 ` Ari Paavilainen
2006-02-08 12:48 ` Marcel Holtmann
2006-02-10 11:45 ` Ari Paavilainen [this message]
2006-02-10 11:53 ` Bastien Nocera
-- strict thread matches above, loose matches on Subject: below --
2006-02-20 8:39 ari.paavilainen
2006-02-20 16:18 ` Albert Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1139571910.8700.7.camel@localhost.localdomain \
--to=arip@iki.fi \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).