Have you tried it at 115200 just in case? The 255 chars are exactly what you'd expect if the module was trying to transmit something at 115200 initially and you were listening at 9600.
But yes, I don't think there's a problem increasing the timeouts at all - I just looked and a timeout of 100 is insanely short (that's not enough time for the data to get there and back at 9600 baud!).
As it looks like you've already got it to the point where you can hack around with it, please can you increase the timeouts and see how it goes? Maybe when it's working you could send me a pull request?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Have you tried it at 115200 just in case? The
255
chars are exactly what you'd expect if the module was trying to transmit something at 115200 initially and you were listening at 9600.But yes, I don't think there's a problem increasing the timeouts at all - I just looked and a timeout of 100 is insanely short (that's not enough time for the data to get there and back at 9600 baud!).
As it looks like you've already got it to the point where you can hack around with it, please can you increase the timeouts and see how it goes? Maybe when it's working you could send me a pull request?