Page 1 of 1

Connecting bluetooth module to UART

Posted: Tue Aug 07, 2012 2:45 pm
by alexf
Hi,

I'm trying to connect a CSR bluetooth module to my pi over the UART but I'm not having much success.

I use the command
hciattach ttyAMA0 bcsp 115200 noflow

but get a timeout.

I've stopped ttyAMA0 being used by getty by following the instructions in http://www.raspberrypi.org/phpBB3/viewt ... 45#p139945

I have tested the module by connecting to my PC's UART and trying out a bcsp connection, it works.

I've run out of ideas and I don't know enough about hciattach to know what could be going wrong. Does anyone have any suggestions?

Thanks

Re: Connecting bluetooth module to UART

Posted: Thu Aug 09, 2012 10:21 am
by alexf
I managed to get a little further with this by using a module I have a little more control over the initial conditions of. I am now stuck with the error message 'Can't set line discipline'. Questions about this seem to be more suited to the Raspbian forum so I have stared another topic http://www.raspberrypi.org/phpBB3/viewt ... 66&t=14015