I'm trying to understand the UART-handling to maybe be able to suggest a way to test the code without a bangle.
EDIT: Maybe I could introduce a function testIntentsFunctionality() to the code that lets one input a string "lineDebug" to pass to "handleUartRxLine()". Making this new function reachable from inside the app would make testing possible w/o a bangle. I think.
EDIT2: But I guess I have to fake a connection to a bangle to have the app access the code in the first place...
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.
I was asked this,
, in the comments on the PR and don't really have a good answer.
@Gordon do you have a suggestion?
I'm trying to understand the UART-handling to maybe be able to suggest a way to test the code without a bangle.
EDIT: Maybe I could introduce a function testIntentsFunctionality() to the code that lets one input a string "lineDebug" to pass to "handleUartRxLine()". Making this new function reachable from inside the app would make testing possible w/o a bangle. I think.
EDIT2: But I guess I have to fake a connection to a bangle to have the app access the code in the first place...