* Connectable PANU state for PTS certifications?
@ 2012-01-08 17:51 Ilia, Kolominsky
2012-01-08 20:24 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Ilia, Kolominsky @ 2012-01-08 17:51 UTC (permalink / raw)
To: linux-bluetooth@vger.kernel.org
Hi!
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 )?
Kind regards,
Ilia Kolominsky
iliak@ti.com
Direct: +972(9)7906231
Mobile: +972(54)909009
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Connectable PANU state for PTS certifications?
2012-01-08 17:51 Connectable PANU state for PTS certifications? Ilia, Kolominsky
@ 2012-01-08 20:24 ` Marcel Holtmann
2012-01-09 9:20 ` Ilia, Kolominsky
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2012-01-08 20:24 UTC (permalink / raw)
To: Ilia, Kolominsky; +Cc: linux-bluetooth@vger.kernel.org
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.
Regards
Marcel
^ permalink raw reply [flat|nested] 4+ messages in thread* RE: Connectable PANU state for PTS certifications?
2012-01-08 20:24 ` Marcel Holtmann
@ 2012-01-09 9:20 ` Ilia, Kolominsky
2012-01-09 10:26 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Ilia, Kolominsky @ 2012-01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RlICggbWF5
YmUgdmlhIGNvbmZpZ3VyYXRpb24gb3IgbGlnaHQgbW9kaWZpY2F0aW9ucyB0byB0aGUgY29kZSAp
Pw0KPiANCj4gbG9vayBhdCBkb2MvbmV0d29yay1hcGkudHh0LiBTbyBpbiB0aGVvcnkgeW91IGNh
biBkbyBzb21ldGhpbmcgbGlrZQ0KPiBOZXR3b3JrU2VydmVyLlJlZ2lzdGVyKCJwYW51IiwgImJy
MCIpLg0KPiANCj4gSG93ZXZlciBJIGhhdmUgdGhlIHNsaWdodCBzdXNwaWNpb24gdGhhdCBvbmx5
ICJuYXAiIGlzIHJlYWxseSBmdWxseQ0KPiBpbXBsZW1lbnRlZCBhbmQgdGVzdGVkLg0KDQpTZWVt
cyBzbyAtIHJlZ2lzdGVyX3NlcnZlcigpIGV4cGxpY2l0bHkgY2hlY2tzIHRoYXQgdXVpZCB0byBp
cyAibmFwIg0KYW5kIGVtaXRzIGJ0ZF9lcnJvcl9mYWlsZWQgaW4gY2FzZSBpdCBpcyBub3QuDQo+
IA0KPiBSZWdhcmRzDQo+IA0KPiBNYXJjZWwNCj4gDQoNCkJlc3RzLCBJbGlhLg0K
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Connectable PANU state for PTS certifications?
2012-01-09 9:20 ` Ilia, Kolominsky
@ 2012-01-09 10:26 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2012-01-09 10:26 UTC (permalink / raw)
To: Ilia, Kolominsky; +Cc: linux-bluetooth@vger.kernel.org
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-09 10:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-08 17:51 Connectable PANU state for PTS certifications? Ilia, Kolominsky
2012-01-08 20:24 ` Marcel Holtmann
2012-01-09 9:20 ` Ilia, Kolominsky
2012-01-09 10:26 ` Marcel Holtmann
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).