Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] Question about dev/bluetooth/rfcomm/0
@ 2005-01-24 12:34 Khoo Teck Ping
  2005-01-24 12:43 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Khoo Teck Ping @ 2005-01-24 12:34 UTC (permalink / raw)
  To: bluez-devel

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

Dear All

I do not currently have this folder on my file system. 
dev/bluetooth/rfcomm/0

I understand that it should have been created by the kernel drivers. 

May I know how I can install this folder? This is required for rfcomm. 

Thank You

Teck Ping

[-- Attachment #2: Type: text/html, Size: 921 bytes --]

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

* Re: [Bluez-devel] Question about dev/bluetooth/rfcomm/0
  2005-01-24 12:34 [Bluez-devel] Question about dev/bluetooth/rfcomm/0 Khoo Teck Ping
@ 2005-01-24 12:43 ` Marcel Holtmann
  2005-01-25 14:37   ` Khoo Teck Ping
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-01-24 12:43 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Teck,

> I do not currently have this folder on my file system. 
> 
> dev/bluetooth/rfcomm/0
> 
> I understand that it should have been created by the kernel drivers. 
>  
> May I know how I can install this folder? This is required for
> rfcomm. 

if this is a 2.6 kernel then install udev and the device node will be
created. However this can also be /dev/rfcomm0, because the other name
was only used by devfs.

Regards

Marcel




-------------------------------------------------------
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-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Question about dev/bluetooth/rfcomm/0
  2005-01-24 12:43 ` Marcel Holtmann
@ 2005-01-25 14:37   ` Khoo Teck Ping
  2005-01-25 14:56     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Khoo Teck Ping @ 2005-01-25 14:37 UTC (permalink / raw)
  To: bluez-devel

Hi Marcel

Thank you for your help. I have a few more related questions:

1. I issue the following commands with a Sony Ericsson 
T630(a1:b2:c3:d4:e5:f6) nearby
# rfcomm bind rfcomm0 a1:b2:c3:d4:e5:f6
# rfcomm connect rfcomm0 a1:b2:c3:d4:e5:f6

The T630 asked for a pin. I have previously editted the pin file in 
/etc/bluetooth/pin to be 0000. I entered 0000 into the T630 and it rejected 
it with error passkey mismatch. May I know how to resolve this?

However, when I issued the following command
# hcitool cc a1:b2:c3:d4:e5:f6
The connection proceeded successfully immediately, without the phone asking 
for a pin.

May I know the difference between the two cases?

2. I desire to use AT commands on my Fedora, via cu (call up). May I know 
how I can get cu installed? Can minicom be used for similar purpose?

Thank You.
Teck Ping




----- Original Message ----- 
From: "Marcel Holtmann" <marcel@holtmann.org>
To: "BlueZ Mailing List" <bluez-devel@lists.sourceforge.net>
Sent: Monday, January 24, 2005 8:43 PM
Subject: Re: [Bluez-devel] Question about dev/bluetooth/rfcomm/0


> Hi Teck,
>
>> I do not currently have this folder on my file system.
>>
>> dev/bluetooth/rfcomm/0
>>
>> I understand that it should have been created by the kernel drivers.
>>
>> May I know how I can install this folder? This is required for
>> rfcomm.
>
> if this is a 2.6 kernel then install udev and the device node will be
> created. However this can also be /dev/rfcomm0, because the other name
> was only used by devfs.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> 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-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel 



-------------------------------------------------------
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-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Question about dev/bluetooth/rfcomm/0
  2005-01-25 14:37   ` Khoo Teck Ping
@ 2005-01-25 14:56     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2005-01-25 14:56 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Teck,

> Thank you for your help. I have a few more related questions:
> 
> 1. I issue the following commands with a Sony Ericsson 
> T630(a1:b2:c3:d4:e5:f6) nearby
> # rfcomm bind rfcomm0 a1:b2:c3:d4:e5:f6
> # rfcomm connect rfcomm0 a1:b2:c3:d4:e5:f6

you need only one of these commands. When using bind you must open the
terminal device to initiate the connection.

> The T630 asked for a pin. I have previously editted the pin file in 
> /etc/bluetooth/pin to be 0000. I entered 0000 into the T630 and it rejected 
> it with error passkey mismatch. May I know how to resolve this?

This PIN file is only for incoming connection. You PIN helper program is
not working in your case. Check the mailing list archive.

> However, when I issued the following command
> # hcitool cc a1:b2:c3:d4:e5:f6
> The connection proceeded successfully immediately, without the phone asking 
> for a pin.

This is a low level connection and as long as none of the device is in
security mode 3 you won't be asked for a PIN.

> 2. I desire to use AT commands on my Fedora, via cu (call up). May I know 
> how I can get cu installed? Can minicom be used for similar purpose?

Ask the Fedora guys ;)

However you can use any program to issue the AT commands. If you only
wanna dial in then you should use a dialer program like wvdial.

Regards

Marcel




-------------------------------------------------------
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-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2005-01-25 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-24 12:34 [Bluez-devel] Question about dev/bluetooth/rfcomm/0 Khoo Teck Ping
2005-01-24 12:43 ` Marcel Holtmann
2005-01-25 14:37   ` Khoo Teck Ping
2005-01-25 14:56     ` Marcel Holtmann

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