I did add Serial.flush() recently: https://www.espruino.com/Reference#l_Serial_flush
So it's possible that doing Bluetooth.flush() may help too?
But really the UART in Espruino was designed specifically to avoid sending more packets than needed, so if you want fine-grained control it might be worth making your own characteristics
© Espruino, powered by microcosm.
Report a problem