I use clock to send a string of my command to arduino every 100ms ,the app is able to connect and send string but it can only send like 20 second then it stop sending.At lease the arduino side serial monitor has no output or any thing

TigerKing_BLE.aia (165.1 KB)
The project is a toy tank, it should send five different value and separate with "," and end with \n
the joyconx,joycony,turret_turn,fire,lockon ,now im stuck at when i send string to arduino its all good but after 20 second or so it stoped.And the bluetooth connection is still on.The disconnect button sometimes work sometims dont.
now im just testing so my arduino code only have recive and print it out
void setup() {

Serial.begin(9600);

}

void loop() {

  if (Serial.available() > 0) {

String receivedValues = Serial.readStringUntil('\n');

Serial.print("Received: ");

Serial.println(receivedValues);

}

}