This Content is from Stack Overflow. Question asked by Mihiranga Silva
If I want to send a string like ” Hello World” from a mobile phone to a Bluetooth HC-05 module, then how to handle this string and make my logic accordingly …? Is there any function to convert string to char? I am using an ATmega32 microcontroller to control HC-05.
I think you can create an array to receive the command in the function of microcontroller side. By the way, which app are you using for testing your Bluetooth module? I recommend you use this one: https://play.google.com/store/apps/details?id=com.clarence.bluetoothserial, with which you can customize your frequently used commands as buttons. It’s very convenient.
This Question was asked in StackOverflow by Mihiranga Silva and Answered by Medulla It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.