From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: From: "Albert Huang" To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] bluetooth remote control In-Reply-To: <20060411223157.86042.qmail@web61222.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2386_19291194.1144861569408" References: <20060411223157.86042.qmail@web61222.mail.yahoo.com> Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 12 Apr 2006 13:06:09 -0400 ------=_Part_2386_19291194.1144861569408 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Take a look at Xbtrc http://wwwhome.cs.utwente.nl/~dijkhw/index.php?p=3DKatlijk/Xbtrc problems encountered: multiple remotes can't connect to the same server. > > i see that the accept method (unlike tcp implementation) returns the > server port upon accepting an incoming connection. for instance, if the > server is listening on port 16, when any remote connects to the server, t= he > server port 16 is used to establish end-to-end connection with the client= . > now, another device cannot connect to the same server until the first rem= ote > disconnects. this problem stops us from using multiple remotes with a sin= gle > linux server. > There is no such restriction in hardware or bluetooth software stack. Multiple clients can be simultaneously connected to the same RFCOMM channel on a server. Use hcidump -X -V to find out where the connection fails. Make sure that the server is always the master and that the clients are always the slaves. This probably requires a role switch after each connect= . > >rfcomm connect 00:0D:88:C0:61:55 16 > Can't connect RFCOMM socket: Host is down > This syntax is incorrect. See the rfcomm documentation. -albert ------=_Part_2386_19291194.1144861569408 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Take a look at Xbtrc

http://wwwhome.cs.utwente.nl/~dijkhw/index.ph= p?p=3DKatlijk/Xbtrc


=
problems encountered: multiple remotes can't= connect to the same server.

i see that the accept method (unlike = tcp implementation) returns the server port upon accepting an incoming conn= ection. for instance, if the server is listening on port 16, when any remote connects = to the server, the server port 16 is used to establish end-to-end connectio= n with the client. now, another device cannot connect to the same server un= til the first remote disconnects. this problem stops us from using multiple= remotes with a single linux server.

There is no such restriction in hardware or blu= etooth software stack.  Multiple clients can be simultaneously connect= ed to the same RFCOMM channel on a server.  Use hcidump -X -V to find = out where the connection fails.  Make sure that the server is always t= he master and that the clients are always the slaves.  This probably r= equires a role switch after each connect.
 
<= div style=3D"direction: ltr;">>rfcomm connect 00:0D:88:C0:61:55 16
C= an't connect RFCOMM socket: Host is down

This syntax is incorrect.&= nbsp; See the rfcomm documentation.
 
-albert ------=_Part_2386_19291194.1144861569408-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <20060412155415.62433.qmail@web61214.mail.yahoo.com> From: deva seetharam Subject: Re: [Bluez-users] bluetooth remote control To: bluez-users@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1742247089-1144857255=:60573" Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 12 Apr 2006 08:54:15 -0700 (PDT) --0-1742247089-1144857255=:60573 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit thank you for the pointer. you can find the video at the following site: http://www.windowsfordevices.com/news/NS5107313610.html Sowmya Gattupalli wrote: Hi well... there is this video by Anil Dhawan which actually implemented in windows CE os I guess... probably u can look into the video to know more... He used COM ports get it working.. just look at his video... may be it rings a bell... (just give Anil Dhawan + Bluetooth in Google) On 4/12/06, deva seetharam wrote:hello all, i am building bluetooth based handheld remote control devices. background information =============== the remote control devices are based on LMX9820 (National Semiconductor's single-chip bluetooth modules). when buttons are pressed, these devices send messages to an application running on a debian linux box. bluetooth connectivity is added to this linux box using D-Link DBT-120 bluetooth dongle. attempted architectures ============== i tried to implement this system using the following architectures: 1. RFCOMM server the linux box runs a bluetooth socket server on a particular channel. the remote control device connects to the server over the specific channel and sends messages. problems encountered: multiple remotes can't connect to the same server. i see that the accept method (unlike tcp implementation) returns the server port upon accepting an incoming connection. for instance, if the server is listening on port 16, when any remote connects to the server, the server port 16 is used to establish end-to-end connection with the client. now, another device cannot connect to the same server until the first remote disconnects. this problem stops us from using multiple remotes with a single linux server. 2. Serial port set up one or more bluetooth serial ports and the remote control devices can send messages to anyone of them by randomly selecting one of those channels. so i setup a port as listed by rfcomm show: rfcomm0: 00:0D:88:C0:61:55 channel 16 clean > sdptool add --channel=16 sp Serial Port service registered > rfcomm listen 0 16 Waiting for connection on channel 16 i tried to connect to rfcomm0 from a *different* linux machine. problems encountered: can't connect... >rfcomm connect 00:0D:88:C0:61:55 16 Can't connect RFCOMM socket: Host is down (although, when i do a l2ping, the second machine gets replies from the first). Questions ====== 1. what would be the best architecture for implementing bluetooth remote control? 2. is it possible to configure the accept function to return connection specific ports? 3. what do i need to get the bluetooth serial port working? pls. let me know. thanks in advance, dave --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice. --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. --0-1742247089-1144857255=:60573 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit thank you for the pointer. you can find the video at the following site:
http://www.windowsfordevices.com/news/NS5107313610.html



Sowmya Gattupalli <sowmya.gattupalli@gmail.com> wrote:
Hi
well... there is this video by Anil Dhawan which actually implemented in windows CE os I guess... probably u can look into the video to know more... He used COM ports get it working.. just look at his video... may be it rings a bell... (just give Anil Dhawan + Bluetooth in Google)

On 4/12/06, deva seetharam <tagsense@yahoo.com > wrote:
hello all,
i am building bluetooth based handheld remote control devices. 

background information
===============
the remote control devices are based on LMX9820 (National Semiconductor's single-chip bluetooth modules).  when buttons are pressed, these devices send messages to an application running on a debian linux box. bluetooth connectivity is added to this linux box using D-Link DBT-120 bluetooth dongle.

attempted architectures
==============
i tried to implement this system using the following architectures:

1. RFCOMM server
the linux box runs a bluetooth socket server on a particular channel. the remote control device connects to the server over the specific channel and sends messages.

problems encountered: multiple remotes can't connect to the same server.

i see that the accept method (unlike tcp implementation) returns the server port upon accepting an incoming connection. for instance, if the server is listening on port 16, when any remote connects to the server, the server port 16 is used to establish end-to-end connection with the client. now, another device cannot connect to the same server until the first remote disconnects. this problem stops us from using multiple remotes with a single linux server.


2. Serial port
set up one or more bluetooth serial ports and the remote control devices can send messages to anyone of them by randomly selecting one of those channels.

so i setup a port as listed by rfcomm show:
rfcomm0: 00:0D:88:C0:61:55 channel 16 clean

> sdptool add --channel=16 sp
   Serial Port service registered

> rfcomm listen 0 16
Waiting for connection on channel 16

i tried to connect to rfcomm0 from a *different* linux machine.

problems encountered: can't connect...

>rfcomm connect 00:0D:88:C0:61:55 16
Can't connect RFCOMM socket: Host is down

(although, when i do a l2ping, the second machine gets replies from the first).

Questions
======
1. what would be the best architecture for implementing bluetooth remote control?
2. is it possible to configure the accept function to return connection specific ports?
3. what do i need to get the bluetooth serial port working?

pls. let me know.

thanks in advance,
dave





Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.



Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. --0-1742247089-1144857255=:60573-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: From: "Sowmya Gattupalli" To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] bluetooth remote control In-Reply-To: <20060411223157.86042.qmail@web61222.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1309_18535772.1144808707571" References: <20060411223157.86042.qmail@web61222.mail.yahoo.com> Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 12 Apr 2006 07:55:07 +0530 ------=_Part_1309_18535772.1144808707571 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi well... there is this video by Anil Dhawan which actually implemented in windows CE os I guess... probably u can look into the video to know more... He used COM ports get it working.. just look at his video... may be it ring= s a bell... (just give Anil Dhawan + Bluetooth in Google) On 4/12/06, deva seetharam wrote: > > hello all, > i am building bluetooth based handheld remote control devices. > > background information > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > the remote control devices are based on LMX9820 (National Semiconductor's > single-chip bluetooth modules). when buttons are pressed, these devices > send messages to an application running on a debian linux box. bluetooth > connectivity is added to this linux box using D-Link DBT-120 bluetooth > dongle. > > attempted architectures > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > i tried to implement this system using the following architectures: > > 1. RFCOMM server > the linux box runs a bluetooth socket server on a particular channel. the > remote control device connects to the server over the specific channel an= d > sends messages. > > problems encountered: multiple remotes can't connect to the same server. > > i see that the accept method (unlike tcp implementation) returns the > server port upon accepting an incoming connection. for instance, if the > server is listening on port 16, when any remote connects to the server, t= he > server port 16 is used to establish end-to-end connection with the client= . > now, another device cannot connect to the same server until the first rem= ote > disconnects. this problem stops us from using multiple remotes with a sin= gle > linux server. > > > 2. Serial port > set up one or more bluetooth serial ports and the remote control devices > can send messages to anyone of them by randomly selecting one of those > channels. > > so i setup a port as listed by rfcomm show: > rfcomm0: 00:0D:88:C0:61:55 channel 16 clean > > > sdptool add --channel=3D16 sp > Serial Port service registered > > > rfcomm listen 0 16 > Waiting for connection on channel 16 > > i tried to connect to rfcomm0 from a *different* linux machine. > > problems encountered: can't connect... > > >rfcomm connect 00:0D:88:C0:61:55 16 > Can't connect RFCOMM socket: Host is down > > (although, when i do a l2ping, the second machine gets replies from the > first). > > Questions > =3D=3D=3D=3D=3D=3D > 1. what would be the best architecture for implementing bluetooth remote > control? > 2. is it possible to configure the accept function to return connection > specific ports? > 3. what do i need to get the bluetooth serial port working? > > pls. let me know. > > thanks in advance, > dave > > > > > ------------------------------ > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countriesfor just 2=A2/min with Yahoo! Messenger wit= h Voice. > > ------=_Part_1309_18535772.1144808707571 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi
well... there is this video by Anil Dhawan which actually implemented in windows CE os I guess... probably u can look into the video to know more... He used COM ports get it working.. just look at his video... may be it rings a bell... (just give Anil Dhawan + Bluetooth in Google)
=
On 4/12/06, deva seetharam <tagsense@y= ahoo.com > wrote:
hello all,
i am building bluetooth = based handheld remote control devices. =20

background information
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D
the remote control devices are based on LMX9820 (National Semiconductor's single-chip bluetooth modules).  when buttons are pressed, these devices send messages to an application running on a debian linux box. bluetooth connectivity is added to this linux box using D-Link DBT-120 bluetooth dongle.

attempted architectures =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
i tried to implement this= system using the following architectures:

1. RFCOMM server
the linux box runs a bluetooth socket server on a particular channel. the remote control device connects to the server over the specific channel and sends messages.

problems encountered: multiple remote= s can't connect to the same server.

i see that the accept method (unlike tcp implementation) returns the server port upon accepting an incoming connection. for instance, if the server is listening on port 16, when any remote connects to the server, the server port 16 is used to establish end-to-end connection with the client. now, another device cannot connect to the same server until the first remote disconnects. this problem stops us from using multiple remotes with a single linux server.


2. Serial port
set up one or more bluetooth serial ports and the remote control devices can send messages to anyone of them by randomly selecting one of those channels.

so i setup a port as listed by rfcomm show: rfcomm0: 00:0D:88:C0:61:55 channel 16 clean

> sdptool add --ch= annel=3D16 sp
   Serial Port service registered

>= rfcomm listen 0 16
Waiting for connection on channel 16

i tried to connect to rf= comm0 from a *different* linux machine.

problems encountered: can= 't connect...

>rfcomm connect 00:0D:88:C0:61:55 16
Can't co= nnect RFCOMM socket: Host is down

(although, when i do a l2ping, the second ma= chine gets replies from the first).

Questions
=3D=3D=3D=3D=3D= =3D
1. what would be the best architecture for implementing bluetooth r= emote control?
2. is it possible to configure the accept function to return connectio= n specific ports?
3. what do i need to get the bluetooth serial port wo= rking?

pls. let me know.

thanks in advance,
dave



=09=09


Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2=A2/min with Yahoo! Messenger with Vo= ice.


------=_Part_1309_18535772.1144808707571-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <20060411223157.86042.qmail@web61222.mail.yahoo.com> From: deva seetharam To: bluez-users@lists.sf.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1577216774-1144794717=:85725" Subject: [Bluez-users] bluetooth remote control Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 11 Apr 2006 15:31:57 -0700 (PDT) --0-1577216774-1144794717=:85725 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit hello all, i am building bluetooth based handheld remote control devices. background information =============== the remote control devices are based on LMX9820 (National Semiconductor's single-chip bluetooth modules). when buttons are pressed, these devices send messages to an application running on a debian linux box. bluetooth connectivity is added to this linux box using D-Link DBT-120 bluetooth dongle. attempted architectures ============== i tried to implement this system using the following architectures: 1. RFCOMM server the linux box runs a bluetooth socket server on a particular channel. the remote control device connects to the server over the specific channel and sends messages. problems encountered: multiple remotes can't connect to the same server. i see that the accept method (unlike tcp implementation) returns the server port upon accepting an incoming connection. for instance, if the server is listening on port 16, when any remote connects to the server, the server port 16 is used to establish end-to-end connection with the client. now, another device cannot connect to the same server until the first remote disconnects. this problem stops us from using multiple remotes with a single linux server. 2. Serial port set up one or more bluetooth serial ports and the remote control devices can send messages to anyone of them by randomly selecting one of those channels. so i setup a port as listed by rfcomm show: rfcomm0: 00:0D:88:C0:61:55 channel 16 clean > sdptool add --channel=16 sp Serial Port service registered > rfcomm listen 0 16 Waiting for connection on channel 16 i tried to connect to rfcomm0 from a *different* linux machine. problems encountered: can't connect... >rfcomm connect 00:0D:88:C0:61:55 16 Can't connect RFCOMM socket: Host is down (although, when i do a l2ping, the second machine gets replies from the first). Questions ====== 1. what would be the best architecture for implementing bluetooth remote control? 2. is it possible to configure the accept function to return connection specific ports? 3. what do i need to get the bluetooth serial port working? pls. let me know. thanks in advance, dave --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice. --0-1577216774-1144794717=:85725 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit hello all,
i am building bluetooth based handheld remote control devices. 

background information
===============
the remote control devices are based on LMX9820 (National Semiconductor's single-chip bluetooth modules).  when buttons are pressed, these devices send messages to an application running on a debian linux box. bluetooth connectivity is added to this linux box using D-Link DBT-120 bluetooth dongle.

attempted architectures
==============
i tried to implement this system using the following architectures:

1. RFCOMM server
the linux box runs a bluetooth socket server on a particular channel. the remote control device connects to the server over the specific channel and sends messages.

problems encountered: multiple remotes can't connect to the same server.

i see that the accept method (unlike tcp implementation) returns the server port upon accepting an incoming connection. for instance, if the server is listening on port 16, when any remote connects to the server, the server port 16 is used to establish end-to-end connection with the client. now, another device cannot connect to the same server until the first remote disconnects. this problem stops us from using multiple remotes with a single linux server.


2. Serial port
set up one or more bluetooth serial ports and the remote control devices can send messages to anyone of them by randomly selecting one of those channels.

so i setup a port as listed by rfcomm show:
rfcomm0: 00:0D:88:C0:61:55 channel 16 clean

> sdptool add --channel=16 sp
   Serial Port service registered

> rfcomm listen 0 16
Waiting for connection on channel 16

i tried to connect to rfcomm0 from a *different* linux machine.

problems encountered: can't connect...

>rfcomm connect 00:0D:88:C0:61:55 16
Can't connect RFCOMM socket: Host is down

(although, when i do a l2ping, the second machine gets replies from the first).

Questions
======
1. what would be the best architecture for implementing bluetooth remote control?
2. is it possible to configure the accept function to return connection specific ports?
3. what do i need to get the bluetooth serial port working?

pls. let me know.

thanks in advance,
dave





Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice. --0-1577216774-1144794717=:85725-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users