• Hey Gordon,
    Working with USB and Bluetooth is working well. Serial1.setConsole(); was the trick.
    Now the PC is sending data to Espruino and I can read it over Bluetooth but I'm not sure what encoding it's in? I've tried many options of toString() parseInt() and reading the Hex in a Hex decoder. Below is a sample of the data I'm getting and I've attached a large file with more that Espruino saved to the SD card.
    Do you know what format this is in and how to decode it?

    ô/,,+3ô/,,+3ô/,,+3ô/,,+3ô/,,+3ô/,,+3ô/,,+3
    ô/,,+3ô/,,+3ô/,,+3ô/,,+3ô/,,+3ô/,,+3ô/,,+3
    ô/,,+3ô/,,+3ô/,,+3ô/,,+3ô/,,+3ô/,,+3ô/,,+3
    

    Running this through ([http://frhed.sourceforge.net] Frhed Hex editor) I get something more readable but I'm still not sure what format it is in:

    <bh:00><bh:f4><bh:11><bh:1f>/<bh:10><bh:1d>,<bh:10><bh:1d>,<bh:11><bh:1c>+3
    <bh:00><bh:f4><bh:11><bh:1f>/<bh:10><bh:1d>,<bh:10><bh:1d>,<bh:11><bh:1c>+3
    <bh:00><bh:f4><bh:11><bh:1f>/<bh:10><bh:1d>,<bh:10><bh:1d>,<bh:11><bh:1c>+3 
    

    1 Attachment

About

Avatar for Owen @Owen started