All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] PAN Attributes
@ 2005-03-16 18:51 Claudio Takahasi
  2005-03-17 11:15 ` [Bluez-users] " Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Claudio Takahasi @ 2005-03-16 18:51 UTC (permalink / raw)
  To: bluez-users, bluez-devel


Hi folks,

Which modification should be done in order to get
NAP/GN attribute values?

I need get the NAP/GN IPv4Subnet attribute from a PANU.

I found following structure in the bluez source code, but I didn't find 
references!

static struct attrib_def pan_attrib_names[] = {
        { 0x200, "IpSubnet", NULL, 0 },         /* Obsolete ??? */
        { 0x30A, "SecurityDescription", NULL, 0 },
        { 0x30B, "NetAccessType", NULL, 0 },
        { 0x30C, "MaxNetAccessrate", NULL, 0 },
        { 0x30D, "IPv4Subnet", NULL, 0 },
        { 0x30E, "IPv6Subnet", NULL, 0 },
};


Thanks in advance,
Claudio.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* [Bluez-users] Re: [Bluez-devel] PAN Attributes
  2005-03-16 18:51 [Bluez-devel] PAN Attributes Claudio Takahasi
@ 2005-03-17 11:15 ` Marcel Holtmann
  2005-03-17 12:37   ` Claudio Takahasi
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-03-17 11:15 UTC (permalink / raw)
  To: BlueZ Mailing List; +Cc: BlueZ Mailing List

Hi Claudio,

> Which modification should be done in order to get
> NAP/GN attribute values?

to retrieve them from a remote side or to add them to your PAN server?

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] Re: [Bluez-devel] PAN Attributes
  2005-03-17 11:15 ` [Bluez-users] " Marcel Holtmann
@ 2005-03-17 12:37   ` Claudio Takahasi
  2005-03-17 14:07     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Claudio Takahasi @ 2005-03-17 12:37 UTC (permalink / raw)
  To: bluez-users

Hi Marcel,

Currently, I think that PAN attributes are not being exported(registered)
at server side. Therefore, I need add to NAP/GN and retrieve from PANU.

I didn't find references for them. "pan_attrib_names" structure is used
only in the uuid16_names and at the moment I don't know how change
the code to make these information available.

My objective is try enhance/make easy the PAN setup. Currently, the
user has to be aware of the PAN role and setup the IP address in
both side(master and slave).

In the PAN Profile, Zeroconf is one of  suggested standard to solve
the IP assigment problem. Zeroconf generates a pseudo random IP.
However, this approach is NOT feasible for Bluetooth PAN. For NAP
scenario, a route must be added in the PANU to reach the gateway.
But the PANU doesn't know the NAP IP address!!!

Using the IPv4Subnet attribute and using a rule for gateway IP
assigment the PANU can be able to get the NAP IP. Another aproach
is add one attribute like "gateway address", but this implies in PAN
profile changes and I think that this is not a simple process.

Regards,
Claudio





Marcel Holtmann wrote:

>Hi Claudio,
>
>  
>
>>Which modification should be done in order to get
>>NAP/GN attribute values?
>>    
>>
>
>to retrieve them from a remote side or to add them to your PAN server?
>
>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>  
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: [Bluez-devel] PAN Attributes
  2005-03-17 12:37   ` Claudio Takahasi
@ 2005-03-17 14:07     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2005-03-17 14:07 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Claudio,

> Currently, I think that PAN attributes are not being exported(registered)
> at server side. Therefore, I need add to NAP/GN and retrieve from PANU.

the pand creates the SDP record if it is executes in server mode.

> I didn't find references for them. "pan_attrib_names" structure is used
> only in the uuid16_names and at the moment I don't know how change
> the code to make these information available.
> 
> My objective is try enhance/make easy the PAN setup. Currently, the
> user has to be aware of the PAN role and setup the IP address in
> both side(master and slave).
> 
> In the PAN Profile, Zeroconf is one of  suggested standard to solve
> the IP assigment problem. Zeroconf generates a pseudo random IP.
> However, this approach is NOT feasible for Bluetooth PAN. For NAP
> scenario, a route must be added in the PANU to reach the gateway.
> But the PANU doesn't know the NAP IP address!!!
> 
> Using the IPv4Subnet attribute and using a rule for gateway IP
> assigment the PANU can be able to get the NAP IP. Another aproach
> is add one attribute like "gateway address", but this implies in PAN
> profile changes and I think that this is not a simple process.

Why don't you create a bridge and put a DHCP server on the bridge
interface? This is working fine on my systems.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-03-17 14:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-16 18:51 [Bluez-devel] PAN Attributes Claudio Takahasi
2005-03-17 11:15 ` [Bluez-users] " Marcel Holtmann
2005-03-17 12:37   ` Claudio Takahasi
2005-03-17 14:07     ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.