Thread (6 messages) 6 messages, 2 authors, 2016-07-26

Re: BT PAN Connection - NAP with PANU ?

flat view

From: Ajay Parashar <hidden>
Date: 2016-07-25 11:11:45

Hi,

I am using bluez 5.35 and performing one POC with NAP and PANU communication.
I want to connect PANU with NAP, for this i executed below tasks

1) Created a bridge successfully with Ubuntu 15.10.
2) Executed /test/test-nap script and i can see that NAP has established.

3) I am not getting how to start PANU (client) so that it can be
connected with NAP (as defined in above step 2) and start
communicating each other.
How about doc/network-api.txt:

https://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/network-api.txt

e.g: org.bluez.Network1.Connect("panu")

----------------------------------------------------------------------------------------------
My fault i did Top posting, so giving my reply again in right format.
----------------------------------------------------------------------------------------------------
Hi,

Thanks for reply, I will try this connect API.
In my case it need to be connected with NAP as PANU itself, so the
parameter of connect api  should states its own role or the role of
server with whom it needs to be connected?

These APIs are used in python examples, is there similar API available
for C programming application also?
Can i get similar C example ?

On Mon, Jul 25, 2016 at 1:50 PM, Luiz Augusto von Dentz
[off-list ref] wrote:
Hi Ajay,

On Sat, Jul 23, 2016 at 9:39 PM, Ajay Parashar [off-list ref] wrote:
quoted
Hi,

I am using bluez 5.35 and performing one POC with NAP and PANU communication.
I want to connect PANU with NAP, for this i executed below tasks

1) Created a bridge successfully with Ubuntu 15.10.
2) Executed /test/test-nap script and i can see that NAP has established.

3) I am not getting how to start PANU (client) so that it can be
connected with NAP (as defined in above step 2) and start
communicating each other.
How about doc/network-api.txt:

https://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/network-api.txt

e.g: org.bluez.Network1.Connect("panu")

--
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help