* [Bluez-users] How do I get rfcomm to reread config file?
@ 2007-09-19 21:58 Gene Imes
2007-09-20 7:07 ` Marcel Holtmann
2007-09-20 13:26 ` Stefan Seyfried
0 siblings, 2 replies; 4+ messages in thread
From: Gene Imes @ 2007-09-19 21:58 UTC (permalink / raw)
To: list - bluez-users
I am posting again because my first post did not get a reply.
I have several bluetooth gps receivers. In /etc/bluetooth/rfcomm.conf I
have their MAC address listed but commented out except the one I want to
use. However, when change and restart the bluetooth service the new
address is not picked up and the old one is still by rfcomm.
How can I get rfcomm to pick up the new MAC?
/etc/bluetooth/rfcomm.conf:
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
#device 00:08:1B:C0:D3:1F;
#device 00:0B:0D:18:15:4F;
#GPSlim240
device 00:0B:0D:6D:E2:E6;
# RFCOMM channel for the connection
# channel 1;
}
My bluez is 3.18 on Gentoo.
Thanks for any help,
--
Gene Imes ============================= ozob.net
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] How do I get rfcomm to reread config file?
2007-09-19 21:58 [Bluez-users] How do I get rfcomm to reread config file? Gene Imes
@ 2007-09-20 7:07 ` Marcel Holtmann
2007-09-22 22:26 ` Gene Imes
2007-09-20 13:26 ` Stefan Seyfried
1 sibling, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2007-09-20 7:07 UTC (permalink / raw)
To: BlueZ users
Hi Gene,
> I have several bluetooth gps receivers. In /etc/bluetooth/rfcomm.conf I
> have their MAC address listed but commented out except the one I want to
> use. However, when change and restart the bluetooth service the new
> address is not picked up and the old one is still by rfcomm.
>
> How can I get rfcomm to pick up the new MAC?
>
> /etc/bluetooth/rfcomm.conf:
>
> rfcomm0 {
> # Automatically bind the device at startup
> bind yes;
>
> # Bluetooth address of the device
> #device 00:08:1B:C0:D3:1F;
> #device 00:0B:0D:18:15:4F;
> #GPSlim240
> device 00:0B:0D:6D:E2:E6;
>
> # RFCOMM channel for the connection
> # channel 1;
> }
>
> My bluez is 3.18 on Gentoo.
calling "rfcomm unbind all" and then "rfcomm bind all" should work.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] How do I get rfcomm to reread config file?
2007-09-19 21:58 [Bluez-users] How do I get rfcomm to reread config file? Gene Imes
2007-09-20 7:07 ` Marcel Holtmann
@ 2007-09-20 13:26 ` Stefan Seyfried
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Seyfried @ 2007-09-20 13:26 UTC (permalink / raw)
To: bluez-users
On Wed, Sep 19, 2007 at 04:58:23PM -0500, Gene Imes wrote:
> I am posting again because my first post did not get a reply.
> =
> I have several bluetooth gps receivers. In /etc/bluetooth/rfcomm.conf I =
> have their MAC address listed but commented out except the one I want to =
> use. However, when change and restart the bluetooth service the new =
> address is not picked up and the old one is still by rfcomm.
> =
> How can I get rfcomm to pick up the new MAC?
rfcomm release all
rfcomm bind all
is one way to do it.
-- =
Stefan Seyfried
QA / R&D Team Mobile Devices | "Any ideas, John?"
SUSE LINUX Products GmbH, N=FCrnberg | "Well, surrounding them's out." =
This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG N=FCrnberg)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] How do I get rfcomm to reread config file?
2007-09-20 7:07 ` Marcel Holtmann
@ 2007-09-22 22:26 ` Gene Imes
0 siblings, 0 replies; 4+ messages in thread
From: Gene Imes @ 2007-09-22 22:26 UTC (permalink / raw)
To: BlueZ users
Marcel Holtmann wrote:
> Hi Gene,
>
>
>
> calling "rfcomm unbind all" and then "rfcomm bind all" should work.
The obvious thing.
Thanks both,
--
Gene Imes ============================= ozob.net
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-09-22 22:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 21:58 [Bluez-users] How do I get rfcomm to reread config file? Gene Imes
2007-09-20 7:07 ` Marcel Holtmann
2007-09-22 22:26 ` Gene Imes
2007-09-20 13:26 ` Stefan Seyfried
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox