Return-Path: Message-ID: <1326104817.6454.141.camel@aeonflux> Subject: RE: Connectable PANU state for PTS certifications? From: Marcel Holtmann To: "Ilia, Kolominsky" Cc: "linux-bluetooth@vger.kernel.org" Date: Mon, 09 Jan 2012 02:26:57 -0800 In-Reply-To: References: <1326054253.6454.135.camel@aeonflux> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Ilia, > > > I am trying to pass PTS tests for PANU. > > > Number of them try to initialize connection to PANU ( IUT ) and > > > fail because of " bluetoothd[298]: Server unavailable: (0x1115)". > > > Spec. says that support for connectable mode in PANU is optional, > > > and the code ( server.c:: server_register() ) seems to register > > > only NAP server. > > > > > > The question is - is it possible to enable the connectable PANU > > > mode ( maybe via configuration or light modifications to the code )? > > > > look at doc/network-api.txt. So in theory you can do something like > > NetworkServer.Register("panu", "br0"). > > > > However I have the slight suspicion that only "nap" is really fully > > implemented and tested. > > Seems so - register_server() explicitly checks that uuid to is "nap" > and emits btd_error_failed in case it is not. feel free to send patches for it. Regards Marcel