logo       

RE: dund on an ipaq 3870: msg#00172

Subject: RE: dund on an ipaq 3870
Martin,

I have just done this for pan on a 3970 running Familiar v0.7 and assume
that dun works roughly the same way.

Once you have everything installed, you need to bring up the interface.
The ipkg install command should have loaded some things, but double
check:
The following lines need to be present in your /etc/modules.conf always
in order for BlueZ to work correctly:
alias net-pf-31 bluez
alias bt-proto-0 l2cap
If you want to use UART based Bluetooth devices, add the following line
to your /etc/modules.conf in addition to the above:
alias tty-ldisc-15 hci_uart
After making any of the above changes, you can run "depmod -a" to enable
auto-loading of BlueZ
modules.
Manual loading of the modules can be done by:
modprobe bluez
modprobe hci_uart UART support. Optional
modprobe hci_usb USB support. Optional
modprobe l2cap
modprobe dund          <-- I used pand here, but you should be able to
do it

You should see the BlueZ modules if you run lsmod. If there are any
errors, check your /var/log/messages file.

To make the bluez module work correctly, you also need to do an
hci_attach call:
The syntax for these calls in general is:
hciattach <tty> <type | id> [speed] [flow]

The call that I use is, but I can't be sure that you will want to use
it:
# hciattach /dev/tts/1 bcsp 921600

To do the inquiry, you will want to use the hcitool call:
hcitool [-i hciX] OGF OCF param...
where OGF Is the OpCode Group Field (00-3F), OCF is the OpCode Command
Field (0000-03FF), param... are parameters. Each parameter is a sequence
of bytes. Bytes are entered in hexadecimal form without spaces, most
significant byte first. The size of each parameter is determined based
on the number of bytes entered.  An example to do an inquiry using LAP
0x9E8B33 for 10 _ 1.28 sec and unlimited responses is:
hcitool -i hci 0 01 0001 33 8b 9e 10 00

and to stop the inquiry:
hcitool -i hci0 01 0002

Then to actually make the dun connection, you do 
dund -c <BDADDR>

Hope that helps!

Gillian

PS there is a good list you might join familiar@xxxxxxxxxxxxx

-----Original Message-----
From: bluez-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:bluez-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
Martin.Reichl@xxxxxxxxxxxxxxxx
Sent: Tuesday, October 28, 2003 7:41 AM
To: bluez-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [Bluez-users] dund on an ipaq 3870

Hallo,

i am trying to get dund on an ipaq 3870 with familiar working (lap
connection from the ipaq to a linux pc). i found some howtos for linux
pcs
but nothing that describes this for an ipaq. can anybody help?

thanks in advance
best regards
Martin




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Bluez-users mailing list
Bluez-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bluez-users




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>