Set up connections between two BluetoothBee step by step

Hi,
i have a little prob. with my new Serial port bluetooth module (Master/Slave)
if i connect it with my pc via sscom32e i got for example:
+
+STWMOD=1
OK
WORK:MASTER
+BTSTATE:0
+BTSTATE:1
+BTSTATE:3
CONNECT:FAIL
+BTSTATE:1

+INQ=1
OK

+BTSTATE:2

+RTINQ=44,11,E0,AC,70,2A;Galaxy S
+
+CONN=44,11,E0,AC,70,2A

OK

+BTSTATE:3

CONNECT:FAIL

+BTSTATE:1

and my mobile phone gave me an error! Phone it’s a <> BT 3.0
if i try as Slave i don’t get anything (no Require; pincode)

And what is the meaning of this message?
+BTSTATE:0
+BTSTATE:1
+BTSTATE:3
CONNECT:FAIL
+BTSTATE:1

Please Help!

TY :slight_smile:

Hi,

I have problems connecting my Bee in Linux.
I tried to follow the guide from the wiki. So I can see it, and pair it. But I cannot open the rfcomm via cutecom. The error message didn’t really help. Is there another way I can try (maybe via commandline) to open the rfcomm device?
I also tried pairing via hcitool. It works too. But browsing the device with sdptool doesn’t show any services. Is that supposed to be that way?

I tried it with Windows and it worked. But it won’t help me with my Linux application :wink:

So has someone a suggestion?

Thank you in advance.

Best regards,

Hello,
I have a ARM Cortex M3 Board and connected the Module, but when I use this Code, I dont see the BT Device in my Windows. :frowning:
What I’m doing wrong ???

void SetupBT (void)
{

/* USART2 Clock an*/
RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART2, ENABLE);

/*Init USART2 USART2: CTS PA0, RTS PA1, TX PA2, RX PA3 */

/* Configure USART2 RTS and USART2 Tx as alternate function push-pull */
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1 | GPIO_Pin_2;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
GPIO_Init(GPIOA, &GPIO_InitStructure);

/* Configure USART2 CTS and USART2 Rx as input floating */
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_3;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING;
GPIO_Init(GPIOA, &GPIO_InitStructure);

USART_InitStructure.USART_BaudRate = 115200;
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
USART_InitStructure.USART_StopBits = USART_StopBits_1;
USART_InitStructure.USART_Parity = USART_Parity_No;
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_RTS_CTS;
USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx;
USART_Init(USART2, &USART_InitStructure);
USART_Cmd(USART2, ENABLE);

/* Init BT */
Delay(200);
send_string("\r\n+STWMOD=0\r\n");
send_string("\r\n+STNA=IMU200\r\n");
send_string("\r\n+STAUTO=0\r\n");
send_string("\r\n+STOAUT=1\r\n");
send_string("\r\n +STPIN=0000\r\n");
Delay(200);
send_string("\r\n+INQ=1\r\n");
Delay(200);

}

please help me, I’ve bought 10 modules for my ten devices.
I want to setup a connection with my PC but I dont find the device with my BT Dongle. I measured VCC and its at 2,7V-3V

I’m using it with ARM Cortex M3 from ST (STM32F103ZE)

Is my procedure correct?

with regards
Sam

push

I have tried to connect my bluetooth bee device in master and salve mode to a laptop computer and both times it keeps coming up with connection failed.

These boards don’t seem to be very active, where else can I get help from?

Or find out how to resolve my issues

The default communication baudrate should be 38400, but it seems you use 115200.

The bluetooth module is with 2.0 firmware. Maybe that’s the problem. Try it with phone with 2.0 bluetooth first.

Try it more times. Sometimes it’s tricky.

Hi,

[1]Were you able to bind the bluetooth bee address to a rfcomm port ?

user@user-desktop:~$ sudo rfcomm bind 0 00:13:EF:00:00:24 1
user@user-desktop:~$ ls /dev/rfcomm*

where 00:13:EF:00:00:24 is bluetoothbee address(it may varry from device to device). If bind works, /dev/rfcomm0 is like any other serial port.

[2]Use 38400 baud rate for initial connection.

I want know if I can use the bluetooth bee directly with the arduino mega 2560 or I have to have the xbee shield.

Yes,you have to use the bee shield.
The link:http://www.seeedstudio.com/depot/xbee%C3%82%C2%AE-shield-p-419.html?cPath=132_134

No.
He just need to connect VCC (3.3V), GND, RX and TX (trought a level shifter) to the Mega 2560.

My virus scanner picked up a threat (Mal/Generic-L) after scanning sscom32E.zip linked to on the first page of this topic.

Hey! How can I reinitalize my BT Be to different baud rate? Using command +STD=9600 just do not work, and module stop initializing anymore.

hello everybody,

I have problems with my BluetoothBee. I followed the steps but I could not communicate correctly with my unit. I wrote a new post but nobody replied to me. anybody can help me?

http://www.seeedstudio.com/forum/viewtopic.php?f=18&t=4161

thank you

Hi.

Is it possible to remove the feedback messages from the Bluetooth bee?

Regards

I having some trouble. Not matter what mode I put the blue tooth bee in, I can’t seem to find it using my android phone or my computer.

The bluetooth bee needs to be in Slave mode to connect to my computer is that correct?

Here is the response from the module.

Setting up Bluetooth link
+STWMOD=0

OK

+STNA=BluetoothBee

WORK:SLAVER

+BTSTATE:0

+BTSTATE:1

OK

+STOAUT=1

WORK:SLAVER

+BTSTATE:0

+BTSTATE:1

OK

WORK:SLAVER

+INQ=1

+BTSTATE:0

+BTSTATE:1

OK

+BTSTATE:2
Setup complete

I don’t see why my phone nor my computer can see the module and i tired 3 different phones non can see it.

No,the feedback can’t be deleted.

Hello Icing, Thanks for the information about connection between two Bluetooth bee!