Hello friends, I wanted to know if it is possible to receive byte and ascii type data simultaneously in Bluetooth BLE, for example, receive this data in the same string: AIT,2,######## (# = decimal number between 0 and 240 "
Thank you
Hello friends, I wanted to know if it is possible to receive byte and ascii type data simultaneously in Bluetooth BLE, for example, receive this data in the same string: AIT,2,######## (# = decimal number between 0 and 240 "
Thank you
Hello Diego
It is possible to do that. In the microcontroller script you can concatenate the values into a string (char array) using sprintf() or the equivalent if not coding in 'C'. I suggest using a bar '|' character as the value separator. On the App side, the string can be split into the individual values.