Il suffit de l'ajouter: String a = a + b (b array de char ou String)
Convertir du bluetooth classic vers le BLE, ça va pas être simple,ce lien peut vous être utile:
http://www.martyncurrey.com/arduino-hm-10-and-app-inventor-2-adding-a-slider/
Avec quel carte Arduino ou compatible vous travaillez?
String myString1 = "ok ";
String myString2 = " good " ;
char texte1[] = {"Arduino"}; // char texte[] = char* texte
char* texte2 = {" TEST"}; //
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
while (!Serial);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("Debut");
myString1 += myString2;
myString1 += texte1;
myString1 += texte2;
Serial.println(myString1); // donne "ok good Arduino TEST"
Serial.println("Fin");
while(1);
}