cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting two STM32F4s with HC-05 Bluetooth

przemekh10
Associate
Posted on April 29, 2015 at 19:20

I connected HC-05 to my STM32F4 through USART. I have tested it with android app, and everything seems to work good (sending, receiving data). But how to connect two STM32F4s with each other? Do I have to know address of Bluetooth module that I want connect to? Is there authorization needed?

1 REPLY 1
stm32forum
Associate II
Posted on April 30, 2015 at 09:28

This is not really an STM32 question, more about the BT module.

You have to pair the modules to get it working. Some of these modules (depending on the firmware) you can make ''friendly'' list of mac address. If you want to use something like security you need also set the pincode.

Read the Hc-05 datasheet to get answer.

On Mbed.org you can find some examples, but the site is down at this moment.