Return-Path: Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Subject: Re: RFCOMM server and current Bluez From: Marcel Holtmann In-Reply-To: Date: Tue, 12 Dec 2017 16:52:51 +0100 Cc: linux-bluetooth@vger.kernel.org Message-Id: References: To: John Klug Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi John, > Would anyone know of any public examples of using RFCOMM with current > methods, or does RFCOMM require compatibility mode and SPD? > > There does not seem to be any RFCOMM server examples included with Bluez. > > Or would there be any detailed documentation on how an RFCOMM server > would be written? look at doc/profile-api.txt and you will find Python based test example for it. Also profiles/iap/main.c is a super simple (also incomplete) example for a custom service like Appleā€™s iAP. Regards Marcel