Return-Path: MIME-Version: 1.0 In-Reply-To: <20170408071834.GA12144@x1c> References: <20170408071834.GA12144@x1c> From: Barry Byford <31baz66@gmail.com> Date: Sat, 8 Apr 2017 08:57:47 +0100 Message-ID: Subject: Re: Serial Port connection with DBus API To: Bluez mailing list Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Johan, On 8 April 2017 at 08:18, Johan Hedberg wrote: > 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'. Works like a charm. Thanks. >> = 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. Ah! Sounds like more of an issue. Gives me something to investigate. Thanks again.