From: Johan Hedberg <johan.hedberg@gmail.com>
To: Barry Byford <31baz66@gmail.com>
Cc: Bluez mailing list <linux-bluetooth@vger.kernel.org>
Subject: Re: Serial Port connection with DBus API
Date: Sat, 8 Apr 2017 10:18:34 +0300 [thread overview]
Message-ID: <20170408071834.GA12144@x1c> (raw)
In-Reply-To: <CAAu3APbMKQY2dnD=TUAb_3BqFKk0s2bzuFFLX8=h-1g7gm8G=Q@mail.gmail.com>
Hi Barry,
On Fri, Apr 07, 2017, Barry Byford wrote:
> = bluetoothd: Invalid value for profile option Channel
Let's look at your code:
> > 'Channel': GLib.Variant('i', 1),
Yep, that's wrong. The expected D-Bus type for 'Channel' is UINT16,
which is 'q' and not 'i'.
> = bluetoothd: RFCOMM server failed for SerialPort: socket(STREAM,
> RFCOMM): Protocol not supported (93)
That usually means that your kernel is incorrectly configured and
lacking RFCOMM support.
Johan
next prev parent reply other threads:[~2017-04-08 7:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-07 13:47 Serial Port connection with DBus API Barry Byford
2017-04-07 21:56 ` Barry Byford
2017-04-08 7:18 ` Johan Hedberg [this message]
2017-04-08 7:57 ` Barry Byford
2017-04-21 20:54 ` Barry Byford
2017-04-22 5:26 ` Johan Hedberg
2017-04-22 20:46 ` Barry Byford
2017-04-25 21:48 ` Barry Byford
2017-04-26 19:07 ` Johan Hedberg
2017-04-26 22:47 ` Barry Byford
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=20170408071834.GA12144@x1c \
--to=johan.hedberg@gmail.com \
--cc=31baz66@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/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