Hi, Marcel, 
We failed to setup PAN using ConnMan. I list the detailed info and steps here. 
Could you check what's wrong with our hardware/software configuration or steps? 
Thanks!

Test machine: 
     Netbook with Bluetooth dungle
        ConnMan-0.10
Peer machine: 
     my desktop with Bluetooth dungle
     Fedora release 10 (Cambridge)
     Bluez4.24

Steps:
1) on peer machine:
[r...@jia-desktop ~]# hciconfig
                hci0:   Type: USB
        BD Address: 00:0A:94:03:1F:30 ACL MTU: 310:10 SCO MTU: 64:8
        UP RUNNING PSCAN
        RX bytes:844 acl:0 sco:0 events:43 errors:0
        TX bytes:434 acl:0 sco:0 commands:43 errors:0
2) on netbook:
[r...@localhost ~]# sdptool search --bdaddr 00:0A:94:03:1F:30 nap
        Searching for nap on 00:0A:94:03:1F:30 ...
        Service Name: BlueZ NAP service
        Service Description: BlueZ PAN service
        Service RecHandle: 0x10007
        Service Class ID List:
        "Network Access Point" (0x1116)
        Protocol Descriptor List:
        "L2CAP" (0x0100)
        PSM: 15
        "BNEP" (0x000f)
        Version: 0x0100
        SEQ16: 800 806
        Language Base Attr List:
        code_ISO639: 0x656e
        encoding:    0x6a
        base_offset: 0x100
        Profile Descriptor List:
        "Network Access Point" (0x1116)
        Version: 0x0100
3) on netbook
"test-device create 00:0A:94:03:1F:30"  (test script in bluez package)
4) on netbook
"list-network"  (test script in ConnMan package)
                [ /hci0 ]
                [ /hci0/dev_00_20_E0_78_F1_C8 ]
                Device = /hci0
                Available = 0
                Connected = 0
                Remember = 0
                [ /hci0/dev_00_0A_94_03_1F_30 ]
                Device = /hci0
                Available = 0
                Connected = 0
                Remember = 0
5) on netbook
Run the test script in ConnMan package:
"connect-network dev_00_0A_94_03_1F_30"
"list-network" 
                [ /hci0 ]
                [ /hci0/dev_00_20_E0_78_F1_C8 ]
                Device = /hci0
                Available = 0
                Connected = 0
                Remember = 0
                [ /hci0/dev_00_0A_94_03_1F_30 ]
                Device = /hci0
                Available = 0
                Connected = 1   
                Remember = 0
(We notice that "Connected=1", but "list-connection" can not show this 
Bluetooth connection)
"list-connections"
[ /dev_00_1E_68_8A_A6_E4/dhcp/ipv4/connection ]
    Default = 1
    IPv4.Gateway = 10.239.48.241
    Device = /dev_00_1E_68_8A_A6_E4
    IPv4.Method = dhcp
    Interface = eth0
    IPv4.Netmask = 255.255.255.0
    IPv4.Address = 10.239.48.156
    Type = ethernet

Thanks, 
jiajia

_______________________________________________
connman mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/connman

Reply via email to