Skip to contentSkip to conversation

Bluez Ported on uClinux

Bluez-users 안희준 2 participants 2 messages Jan 21, 2005 Bluetooth drivers

lore
Share & tools
lore

안희준

author
#0 lore raw

Dear BlueZers,

Recently I ported Bluez (kernel stack, and lib and utils) on uClinux (Arm cored Conexant Network Processor Machine). Why? I couldn't find any port (usually the Makefiles) on the web, and saw several unclearly answered questions on the mailing list.

Now, I works very well for PAN and SPP (which is my major applications so far): however, it works excellent but It does not work very well with Windows application provided my dongle provider (CSR-based AirBird USB class 1). Especially it take too long time to make pan connection (around 30 secs), though it it works ok after the long connection time.

Here I ask some help request !

- Is there any way to make the ip assigning process automatically?

     > pand --listen --master --role GN

    .....

     >ifconfig bnep0  192.168.7.1 

     Is there any way to make the ifconfig automatically?  

- I cannot handle shared library very well. So I am using it with static library. Is there anyone who success with shared library in uClinux and Bluez lib and utils?

Thanks.

Heejune

#1 lore raw

Am Fre, den 21.01.2005 schrieb =EC=95=88=ED=9D=AC=EC=A4=80 um 4:11:

Quoted 49 lines
        Dear BlueZers,
       =20
        =20
       =20
        Recently I ported Bluez (kernel stack, and lib and utils) on
        uClinux (Arm cored Conexant Network Processor Machine).=20
       =20
        Why? I couldn't find any port (usually the Makefiles) on the
        web, and saw several unclearly answered questions on the
        mailing list.=20
       =20
        =20
       =20
        Now, I works very well for PAN and SPP (which is my major
        applications so far): however, it works excellent but It does
        not work very well with Windows application provided my dongle
        provider (CSR-based AirBird USB class 1).   Especially it take
        too long time to make pan connection (around 30 secs), though
        it it works ok after the long connection time.=20
       =20
        =20
       =20
        =20
       =20
        Here I ask some help request !
       =20
        =20
       =20
         -  Is there any way to make the ip assigning process
        automatically?
       =20
        =20
       =20
             > pand --listen --master --role GN
       =20
        =20
       =20
            .....
       =20
        =20
       =20
             >ifconfig bnep0  192.168.7.1=20
       =20
        =20
       =20
             Is there any way to make the ifconfig automatically? =20
       =20
        =20
       =20
Quoted 8 lines
           =20
       =20
         -  I cannot handle shared library very well. So I am using it
        with static library.=20
       =20
            Is there anyone who success with shared library in uClinux
        and Bluez lib and utils?
       =20

Hi,

for the uClinux port, no Makefile changes are required. You just need a few options for "configure". Look at http://cvs.home.at/midori/sources/,
you can find the build scripts in bluez-libs-2.10 and bluez-utils-2.10. =20
The ifconfig should be done in /etc/bluetooth/pan/dev-up. My script looks like this:
------------------------
#!/bin/sh
# IP and BT_GATEWAY are exported from /etc/rc
ifconfig $1 $IP
test -z $BT_GATEWAY || route add default gw $BT_GATEWAY
------------------------
The script is called automatically by pand.=20
I'm not aware of shared library support for ARM.=20

Regards,
Erwin

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users