On Sun, Mar 24, 2013 at 9:31 AM, Daniel Wagner <email@example.com>
I have pushed all patches except patch #3. "dun_gw: Add BlueZ 5 version" from Frédéric just added recently the definition for DUN_GW_UUID. Obviously, I needed to update your patches to use DUN_GW_UUID instead of DUN_UUID. The bluez4.c file also uses DUN_GW_UUID as identifier.
Thanks a lot,
Actually, DUN profile is "asymmetric": it doesn't have an UUID for each role, they share the same UUID . The only way to distinguish the current role is to specify it when registering the profile with bt_register_profile_with_role function.
Specifying the role when registering a DUN profile is important because only GW should expose a SDP record.