I am doing a project with a Bluetooth module. I send the first code and the device works properly. But I have trouble sending the second and third commands and the commands are not executed. Each command is sent as a string of hex codes, and after the execution of one command by the device, the next code must be sent.