• It's at http://www.espruino.com/Reference#l_Serial_data - Bluetooth is an instance of Serial

    I think you have two issues here...

    • You're sending writer.WriteByte(0x01); for some reason? I'd remove that
    • As @fanoush says, you're over-escaping the string, for the 0x10 as well as the newline at the end. Something like writer.WriteString("\x10X({my:\"data\"})\n"); would do it
About

Avatar for Gordon @Gordon started