Linux bluetooth development
 help / color / mirror / Atom feed
* Interface and the other properties is not provided when BT pan (NAP) is connected passively
@ 2014-04-01  2:20 Zheng, Wu
  2014-04-01  8:01 ` Johan Hedberg
  0 siblings, 1 reply; 3+ messages in thread
From: Zheng, Wu @ 2014-04-01  2:20 UTC (permalink / raw)
  To: Hedberg, Johan
  Cc: Von Dentz, Luiz, Xu, Martin, Wu, JiangboX,
	linux-bluetooth@vger.kernel.org

Hi Johan;

We find that "org.bluez.NetworkServer1" doesn't provide any properties.

Only "org.bluez.Network1" provides the related properties.

It means that BT PANU or BT NAP connects with the other BT pan devices actively.
The related BT properties (such as interface) can be provided.

However, If BT NAP is connected passively, The related BT properties (such as interface) can't be provided.

In TIZEN scene, the related BT properties (such as interface) is required when BT NAP is connected passively.

How can we get the related BT properties?

Can you provide some suggestion? Thanks.

Best Regards
Zheng Wu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Interface and the other properties is not provided when BT pan (NAP) is connected passively
  2014-04-01  2:20 Interface and the other properties is not provided when BT pan (NAP) is connected passively Zheng, Wu
@ 2014-04-01  8:01 ` Johan Hedberg
  2014-04-01  8:37   ` Zheng, Wu
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Hedberg @ 2014-04-01  8:01 UTC (permalink / raw)
  To: Zheng, Wu
  Cc: Von Dentz, Luiz, Xu, Martin, Wu, JiangboX,
	linux-bluetooth@vger.kernel.org

Hi Zheng Wu,

On Tue, Apr 01, 2014, Zheng, Wu wrote:
> We find that "org.bluez.NetworkServer1" doesn't provide any properties.
> 
> Only "org.bluez.Network1" provides the related properties.
> 
> It means that BT PANU or BT NAP connects with the other BT pan devices actively.
> The related BT properties (such as interface) can be provided.

By "interface" I assume you mean "network interface"? (to avoid
confusion e.g. with "D-Bus interface").

> However, If BT NAP is connected passively, The related BT properties
> (such as interface) can't be provided.
> 
> In TIZEN scene, the related BT properties (such as interface) is
> required when BT NAP is connected passively.

To my understanding that shouldn't be needed. You provide a bridge name
when you call NetworkServer1.Register() and new connections are
automatically added to that bridge. What else do you need?

Johan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Interface and the other properties is not provided when BT pan (NAP) is connected passively
  2014-04-01  8:01 ` Johan Hedberg
@ 2014-04-01  8:37   ` Zheng, Wu
  0 siblings, 0 replies; 3+ messages in thread
From: Zheng, Wu @ 2014-04-01  8:37 UTC (permalink / raw)
  To: Hedberg, Johan
  Cc: Von Dentz, Luiz, Xu, Martin, Wu, JiangboX,
	'linux-bluetooth@vger.kernel.org'

Hi Johan,

>By "interface" I assume you mean "network interface"? (to avoid confusion e.g. with "D-Bus interface")
Yes. "interface" is such as "bnep0", "bnep1" and so on.

>To my understanding that shouldn't be needed. You provide a bridge name when you call NetworkServer1.Register() and new connections are automatically added to that bridge. What else do you need?
We want to get " network interface" such as "bnep0", "bnep1" and so on, not bridge name(such as "tether" and so on).

Just like that the properties of "org.bluez.Network1" provides " network interface " such as "bnep0", "bnep1" after bnep connection successfully.

Best Regards
Zheng Wu

-----Original Message-----
From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-owner@vger.kernel.org] On Behalf Of Johan Hedberg
Sent: Tuesday, April 1, 2014 4:01 PM
To: Zheng, Wu
Cc: Von Dentz, Luiz; Xu, Martin; Wu, JiangboX; linux-bluetooth@vger.kernel.org
Subject: Re: Interface and the other properties is not provided when BT pan (NAP) is connected passively

Hi Zheng Wu,

On Tue, Apr 01, 2014, Zheng, Wu wrote:
> We find that "org.bluez.NetworkServer1" doesn't provide any properties.
> 
> Only "org.bluez.Network1" provides the related properties.
> 
> It means that BT PANU or BT NAP connects with the other BT pan devices actively.
> The related BT properties (such as interface) can be provided.

By "interface" I assume you mean "network interface"? (to avoid confusion e.g. with "D-Bus interface").

> However, If BT NAP is connected passively, The related BT properties 
> (such as interface) can't be provided.
> 
> In TIZEN scene, the related BT properties (such as interface) is 
> required when BT NAP is connected passively.

To my understanding that shouldn't be needed. You provide a bridge name when you call NetworkServer1.Register() and new connections are automatically added to that bridge. What else do you need?

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-01  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01  2:20 Interface and the other properties is not provided when BT pan (NAP) is connected passively Zheng, Wu
2014-04-01  8:01 ` Johan Hedberg
2014-04-01  8:37   ` Zheng, Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox