Skip to contentSkip to conversation

problems when connect Nokia 7650 to an arm box with BlueZ

Bluez-users Embedded System 3 participants 5 messages Jun 30, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw

Hi Andy,

Quoted 12 lines

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.

Quoted 2 lines

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

#2 lore raw

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

Quoted 39 lines · Marcel Holtmann

Hi Andy,

Quoted 12 lines

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.

Quoted 2 lines

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

#3 lore raw

Am Don, den 30.06.2005 schrieb Embedded System um 8:39:

Quoted 9 lines

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

Quoted 7 lines

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

#4 lore raw

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

Quoted 38 lines · Erwin Authried

Am Don, den 30.06.2005 schrieb Embedded System um 8:39:

Quoted 9 lines

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

Quoted 7 lines

On 6/30/05, Marcel Holtmann <[email protected]> wrote:
Hi Andy,

Quoted 1 line

I am currently connect Nokia 7650 to an arm box (kernel

2.4.27) via

Quoted 1 line

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