Hello everyone.
I would like to replace the keyboard and display on a machine with arduino using bluetooth HC-05.
I was able to connect and communicate in both directions, with no problems between programs
terminal on the mobile phone and the arduino. I started writing an app with B4A the only stumbling block is that the transmission format
and the receiving one do not coincide. When I send (from the phone) the string "AAA" is actually transmitted (in bytes)
03 00 00 00 65 65 65, when should I transmit 65 65 65 0D 0A.
I think there is an alternative way to initialize in BT on the phone side or else the send routine is not
appropriate.
I thank you all.
I would like to replace the keyboard and display on a machine with arduino using bluetooth HC-05.
I was able to connect and communicate in both directions, with no problems between programs
terminal on the mobile phone and the arduino. I started writing an app with B4A the only stumbling block is that the transmission format
and the receiving one do not coincide. When I send (from the phone) the string "AAA" is actually transmitted (in bytes)
03 00 00 00 65 65 65, when should I transmit 65 65 65 0D 0A.
I think there is an alternative way to initialize in BT on the phone side or else the send routine is not
appropriate.
I thank you all.