2005-06-30 03:07:40

by Embedded System

[permalink] [raw]
Subject: [Bluez-users] problems when connect Nokia 7650 to an arm box with BlueZ

hi, everyone
I am currently connect Nokia 7650 to an arm box (kernel 2.4.27) via Serial
Profile using BlueZ(libs-2.14, utils-2.14, hcidump-1.16). The problems are:
1. Every twice connections, one success, and the other said time out.
2. After receive about 5 message from arm box, it do not send back any data,
from hcidump output, it simplely stalls.
3. Every twice sending message from Nokia, one success, and one has no
effects, hcidump has no output also.
4. If I start hcidump before connection, then I can never connect
successfully.
But everything seems to work well when I connect the Nokia 7650 to a PC.
So what should I do? Welcome any comments! And thanks a lot in advance!
If need any further information, please drop me a mesage.
Yours truly,
Andy


Attachments:
(No filename) (771.00 B)
(No filename) (996.00 B)
Download all attachments

2005-06-30 08:31:21

by Embedded System

[permalink] [raw]
Subject: Re: [Bluez-users] problems when connect Nokia 7650 to an arm box with BlueZ

hi, Erwin
Thanks for the message, I use a usb doggle, it works fine under my linux
PC.
As for the arm box, the microcontroller is at91rm9200.
Regards,
Andy
On 6/30/05, Erwin Authried <[email protected]> wrote:
>
> Am Don, den 30.06.2005 schrieb Embedded System um 8:39:
> > hi, Marcel
> >
> > Thanks for the prompt reply! But for my case, the kernel is hard to
> > change, could you please advice me what can I do for the time being,
> > to ensure the data can be sent & received correctly?
> >
> > Regards,
> > Andy
> >
> > On 6/30/05, Marcel Holtmann <[email protected]> wrote:
> > Hi Andy,
> >
> > > I am currently connect Nokia 7650 to an arm box (kernel
> > 2.4.27) via
> > > Serial Profile using BlueZ( libs-2.14, utils-2.14,
> > hcidump-1.16).
>
> which bluetooth adpater do you use, and what is your cpu? Have you
> checked that you don't get overrun errors on the serial port?
>
> Erwin
>
>
>
>
> -------------------------------------------------------
> SF.Net <http://SF.Net> email is sponsored by: Discover Easy Linux
> Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>


Attachments:
(No filename) (1.42 kB)
(No filename) (2.35 kB)
Download all attachments

2005-06-30 08:00:34

by Erwin Authried

[permalink] [raw]
Subject: Re: [Bluez-users] problems when connect Nokia 7650 to an arm box with BlueZ

Am Don, den 30.06.2005 schrieb Embedded System um 8:39:
> hi, Marcel
>
> Thanks for the prompt reply! But for my case, the kernel is hard to
> change, could you please advice me what can I do for the time being,
> to ensure the data can be sent & received correctly?
>
> Regards,
> Andy
>
> On 6/30/05, Marcel Holtmann <[email protected]> wrote:
> Hi Andy,
>
> > I am currently connect Nokia 7650 to an arm box (kernel
> 2.4.27) via
> > Serial Profile using BlueZ( libs-2.14, utils-2.14,
> hcidump-1.16).

which bluetooth adpater do you use, and what is your cpu? Have you
checked that you don't get overrun errors on the serial port?

Erwin




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-06-30 06:39:37

by Embedded System

[permalink] [raw]
Subject: Re: [Bluez-users] problems when connect Nokia 7650 to an arm box with BlueZ

hi, Marcel
Thanks for the prompt reply! But for my case, the kernel is hard to change,
could you please advice me what can I do for the time being, to ensure the
data can be sent & received correctly?
Regards,
Andy
On 6/30/05, Marcel Holtmann <[email protected]> wrote:
>
> Hi Andy,
>
> > I am currently connect Nokia 7650 to an arm box (kernel 2.4.27) via
> > Serial Profile using BlueZ(libs-2.14, utils-2.14, hcidump-1.16). The
> > problems are:
> >
> > 1. Every twice connections, one success, and the other said time out.
> > 2. After receive about 5 message from arm box, it do not send back any
> > data, from hcidump output, it simplely stalls.
> > 3. Every twice sending message from Nokia, one success, and one has no
> > effects, hcidump has no output also.
> > 4. If I start hcidump before connection, then I can never connect
> > successfully.
> >
> > But everything seems to work well when I connect the Nokia 7650 to a
> > PC.
>
> update bluez-libs and bluez-utils and you should also update your
> kernel. The 2.4.27 is quite old and it might have bugs.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> SF.Net <http://SF.Net> email is sponsored by: Discover Easy Linux
> Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>


Attachments:
(No filename) (1.61 kB)
(No filename) (2.25 kB)
Download all attachments

2005-06-30 05:12:14

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] problems when connect Nokia 7650 to an arm box with BlueZ

Hi Andy,

> I am currently connect Nokia 7650 to an arm box (kernel 2.4.27) via
> Serial Profile using BlueZ(libs-2.14, utils-2.14, hcidump-1.16). The
> problems are:
>
> 1. Every twice connections, one success, and the other said time out.
> 2. After receive about 5 message from arm box, it do not send back any
> data, from hcidump output, it simplely stalls.
> 3. Every twice sending message from Nokia, one success, and one has no
> effects, hcidump has no output also.
> 4. If I start hcidump before connection, then I can never connect
> successfully.
>
> But everything seems to work well when I connect the Nokia 7650 to a
> PC.

update bluez-libs and bluez-utils and you should also update your
kernel. The 2.4.27 is quite old and it might have bugs.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users