I spent some time playing with the uart bridge and while doing so, I found some behaviour, that seems odd to me:
When using the bridge with websockets it happens that the data I send to the uart, is received twice by the uart. (when sending e.g.: 123 the uart receives 123123) Did anybody experience the same?
Here's some debug output (the first line is some output I added to uart_bridge.c)
tu_dispatch_to_uart 4857103 UART2 wrote: 3
TCP 0x3ffdaa5c 10.20.30.42:52571 f 256 rb 0 sb 0
UART2 ints 1/0/1; rx en 1 bytes 0 buf 0 fifo 0, ovf 0, lcs 0; tx 6 2048 0, thr 0; hf 90012 i 0x7822 ie 0x151 cts 1
the thing is, last line says "tx 6" even thoug I sent only three bytes. Am I missing something here?
best regards, Claus