   serial_rx_buffer_reset[7] = (byte)((resetDone >> 8) & 0xFF);
   serial_rx_buffer_reset[6] = (byte)((resetDone >> 16) & 0xFF);
   serial_rx_buffer_reset[5] = (byte)((resetDone >> 24) & 0xFF);
-  asm volatile ("  jmp 0");
+  asm volatile ("  jmp 0"); // Reset the Arduino through ASM code
   for (serial_rx_buffer_counter = 0; serial_rx_buffer_counter < sizeof(serial_rx_buffer_reset); serial_rx_buffer_counter++) {
     Serial.write(serial_rx_buffer_reset[serial_rx_buffer_counter]); //  This line writes the serial data back to the computer as a way to check if the Arduino isn't interpreting wrong values
   }

    //Serial.println(calcPongTimestamp);
    Serial.end();
    isConnected = false;
    delay(5000); // Wait 5 seconds before starting connection
    //Serial.println("Sending shit after connection has closed");
    Serial.begin(baudRate);
    //Serial.println("Connection started");

  Serial.end();
  isConnected = false;
  disconnectDone = currentMillis;
  delay(2500); // Wait 2.5 seconds before resetting
  resetDone = currentMillis;
  serial_rx_buffer_reset[0] = 0xA1;
  serial_rx_buffer_reset[11] = 0xA1;
