It looks wrong to me, that the accual message is interrupted ?
You mean that the message is split into {"t":"act","stp":7 and 6,"hrm":38.2} ? I think that's more or less expected, as unless it's negotiated the maximum amount of data that can be sent is 20 chars (and newline gets sent first by the look of it)
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.
You mean that the message is split into
{"t":"act","stp":7
and6,"hrm":38.2}
? I think that's more or less expected, as unless it's negotiated the maximum amount of data that can be sent is 20 chars (and newline gets sent first by the look of it)