How to control the fan with Bluetooth

First buy a Bluetooth module, I bought the HC-06, download a Bluetooth serial debugging assistant on the phone, equivalent to the UART serial port communication microcontroller, use BUFF to obtain the received data, here only need to pay attention to a problem, that is,