Closed glennrub closed 6 years ago
(continuing from #107) I can confirm the issue with WebBluetooth is related to the MTU size - I've managed to manipulate a GPIO pin (in short messages) but sending large messages crashes the connection.
EDIT 1: it appears to endlessly loop in mp_hal_stdin_rx_chr
(did a 'halt' several times in OpenOCD and every time the PC register pointed to somewhere in that function).
backtrace:
#0 0x0002d36c in mp_hal_stdin_rx_chr ()
#1 0x0002dbe2 in readline ()
#2 0x0002ddf0 in pyexec_friendly_repl ()
#3 0x0002ca76 in main ()
EDIT 2: nevermind, I think I made a mistake with local modifications (in EDIT 1).
Have not yet tried it out, but this might be interesting, maybe it works better: https://forum.micropython.org/viewtopic.php?p=22782#p22782
frozen test.py on pca10001:
Driver log from run in Android:
Driver log from Ubuntu: