public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] PAND and RFCOMM simultaneously
@ 2004-03-30  6:25 Harald Meier
  2004-03-30  7:14 ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Meier @ 2004-03-30  6:25 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 897 bytes --]

Hi Marcel,

All PCs in the PAN are equipped with G+W Instruments PICO Bluetooth PCI
Adapter (class 1).
The Serial Devices are equipped with G+W Instruments Blue Serial Bluetooth
Adapter.
(www.gw-instruments.de)

The init script does the following:

        insmod bt-pci.o            # the driver for the BT-PCI card
        insmod bluez.o
        insmod hci_usb.o
        insmod l2cap.o
        insmod bnep.o
       insmod rfcomm.o

        hcid

        sdpd

        pand --listen --role NAP                                         #
on the NAP
        pand --connect <BT-address-of-NAP> --persist    # in the PANU

The hcid.conf is attached (same for NAP and PANU).

When this is running, I get a "Function not implemented" if I try to connect
to
a different NAP (using pand) or if I try to establish a RFCOMM connection.

Is the sequence of loading the modules ok?


Thanks for help!
Harald.

[-- Attachment #2: hcid.conf --]
[-- Type: application/octet-stream, Size: 1491 bytes --]

#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.3 2002/07/18 18:12:46 maxk Exp $
#

# HCId options
options {
	# Automatically initialize new devices
	autoinit yes;

	# Security Manager mode
	#   none - Security manager disabled
	#   auto - Use local PIN for incoming connections
	#   user - Always ask user for a PIN
	#
	security auto;

	# Pairing mode
	#   none  - Pairing disabled
	#   multi - Allow pairing with already paired devices
	#   once  - Pair once and deny successive attempts
	pairing multi;

	# PIN helper
	#pin_helper /bin/bluepin;
	pin_helper /etc/bluetooth/bluepin;
}

# Default settings for HCI devices
device {
	# Local device name
	#   %d - device id
	#   %h - host name
	name "%h (%d)";

	# Local device class
	class 0x100;

	# Default packet type
	#pkt_type DH1,DM1,HV1;

	# Inquiry and Page scan
	iscan enable; pscan enable;

	# Default link mode
	#   none   - no specific policy 
	#   accept - always accept incoming connections
	#   master - become master on incoming connections,
	#            deny role switch on outgoing connections
	#
	#lm accept,master;
	#
	lm accept,master;

	# Default link policy
	#   none    - no specific policy
	#   rswitch - allow role switch
	#   hold    - allow hold mode
	#   sniff   - allow sniff mode
	#   park    - allow park mode
	#
	#lp hold,sniff;
	#
	lp rswitch,hold,sniff,park;

	# Authentication and Encryption
	auth enable;
	encrypt enable;
}

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Bluez-users] PAND and RFCOMM simultaneously
@ 2004-03-25 12:55 Harald Meier
  2004-03-25 23:38 ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Meier @ 2004-03-25 12:55 UTC (permalink / raw)
  To: bluez-users

Dear list members!

I have a NAP/PANU network with pand running and I need to
set up some (up to 4) rfcomm connection additionally.

Setting up the rfcomm devices when the pand is down works fine
but if pand is up, I get a "Function not implemented" when I try
to bring up a rfcomm connection.

If the rfcomm connection is up and I try to connect to the NAP
via pand, I get the "Function not implemented" from pand.

What I am using:

    Debian (not shure what version, was not installed by me)
    kernel 2.4.18-mh10
    bluez-pan-1.1
    bluez-utils-2.4
    bluez-libs-2.5

    Pico Bluetooth PCI Card (Class 1)


any help appreciated,
Harald.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-04-01  8:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-30  6:25 [Bluez-users] PAND and RFCOMM simultaneously Harald Meier
2004-03-30  7:14 ` Marcel Holtmann
2004-03-30 13:31   ` Harald Meier
2004-04-01  6:13   ` Harald Meier
2004-04-01  7:09     ` Marcel Holtmann
2004-04-01  8:17       ` Harald Meier
2004-04-01  8:31         ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2004-03-25 12:55 Harald Meier
2004-03-25 23:38 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox