STM32 f4 + Bluetooth

I must establish a data transfer between a temperature's sensor connected with Bluetooth Bee and STM32 F4 with a Bluetooth Bee too.

The connection between the sensor and the PC is set correctly (COM port) on the problem is how to establish the connection between the sensor and the STM32 card via Bluetooth without user intervention .

You will find attached a schema explaining my problem.

PS: I want to take the measures from the sensor to the PC through the STM32