Return-Path: Message-ID: From: Robert Wlaschin To: "'bluez-devel@lists.sourceforge.net'" , "'Marcel Holtmann'" Subject: RE: [Bluez-devel] Cannot send through serial device rfcomm Date: Tue, 4 Oct 2005 09:32:23 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5C901.329E90D0" List-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C5C901.329E90D0 Content-Type: text/plain; charset="iso-8859-1" I appreciate the heads up. In regards to the type of communication, I'm trying to create a BT serial connection. The device I'm attempting to connect to is actually a weight scale (medical device). It doesn't support any other services. I probably need to add that I changed rfcomm.conf to listen, bind, and connect for rfcomm0. Note: The last time I used linux was in college and it was only to compile my assignments, so I'm not savvy. If you are at all familiar with Windows XP, I can use Hyperterminal to communicate with the meter simply by typing commands in the terminal area but for this to work I have to assign a port to the BT adapter. Thanks, Robert -----Original Message----- From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net Sent: 10/4/05 04:16 Subject: RE: [Bluez-devel] Cannot send through serial device rfcomm Hi Robert, please stop using HTML emails and especially don't use colors. The good old plain ASCII is enough. > I'm cross-compiling for an Arm processor using a Debian 2.6.10 kernel > with bluez-utils/lib 2.21, and bluez-hcidump 2.25 w/ a brainbox usb > adapter for rs-232 replacement (CSR chipset) > > I'm having a problem communicating through the /dev/rfcomm0 device. I > thought that once the device was connected it would be have like a > serial device and I could do this ... > > cat /dev/rfcomm0 > myfile.dat > echo AT > /dev/rfcomm0 > > Am I assuming correctly? If not what am I missing? Do I need to use > the pppd or the dund to communicate? Am I in the wrong mode (master > vs slave). > > If this should work please look at my log files, I'm executing > these commands ... > > hcid > sdpd > sdptool add SP > rfcomm bind 0 XX:XX ... I think you made a big mistake in understanding how Bluetooth and Linux are working. Describe what kind of communication you try to achieve and then we might be able to help you. Regards Marcel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel ------_=_NextPart_001_01C5C901.329E90D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [Bluez-devel] Cannot send through serial device = rfcomm

I appreciate the heads up.

In regards to the type of communication, I'm trying = to create a BT serial connection.  The device I'm attempting to = connect to is actually a weight scale (medical device).  It = doesn't support any other services.  I probably need to add that I = changed rfcomm.conf to listen, bind, and connect for rfcomm0.  = Note: The last time I used linux was in college and it was only to = compile my assignments, so I'm not savvy.

If you are at all familiar with Windows XP, I can use = Hyperterminal to communicate with the meter simply by typing commands = in the terminal area but for this to work I have to assign a port to = the BT adapter.

Thanks,
Robert

-----Original Message-----
From: Marcel Holtmann
To: bluez-devel@lists.sourceforge.net
Sent: 10/4/05 04:16
Subject: RE: [Bluez-devel] Cannot send through = serial device rfcomm

Hi Robert,

please stop using HTML emails and especially don't = use colors. The good
old plain ASCII is enough.

> I'm cross-compiling for an Arm processor using a = Debian 2.6.10 kernel
> with bluez-utils/lib 2.21, and bluez-hcidump = 2.25 w/ a brainbox usb
> adapter for rs-232 replacement (CSR = chipset)

> I'm having a problem communicating through the = /dev/rfcomm0 device.  I
> thought that once the device was connected it = would be have like a
> serial device and I could do this ...

> cat /dev/rfcomm0 > myfile.dat
> echo AT > /dev/rfcomm0

> Am I assuming correctly?  If not what am I = missing?  Do I need to use
> the pppd or the dund to communicate?  Am I = in the wrong mode (master
> vs slave). 

> If this should work please look at my log = files, I'm executing
> these commands ...

> hcid
> sdpd
> sdptool add SP
> rfcomm bind 0 XX:XX ...

I think you made a big mistake in understanding how = Bluetooth and Linux
are working. Describe what kind of communication you = try to achieve and
then we might be able to help you.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, = downloads,
discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl=
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-dev= el

------_=_NextPart_001_01C5C901.329E90D0--