Open hacktronics opened 1 year ago
In the MICROBIT_UART_S_EVT_DELIM_MATCH event, if the RX size is more than 20 bytes, no event is fired. Even though in the constructor, the size is set as 64 bytes buffer
uBit.messageBus.listen(MICROBIT_ID_BLE_UART, MICROBIT_UART_S_EVT_DELIM_MATCH, onDelim); uart = new MicroBitUARTService(*uBit.ble, 64, 32); uart->eventOn(ManagedString((const char)10));
The onDelim is only called, when the user sends less than 20bytes.
In the MICROBIT_UART_S_EVT_DELIM_MATCH event, if the RX size is more than 20 bytes, no event is fired. Even though in the constructor, the size is set as 64 bytes buffer
The onDelim is only called, when the user sends less than 20bytes.