You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • I'm sorry they stopped supporting Espruino, they both are great projects with great potential.
    I think I figured out where the bug was. After some debugging, this error was thrown by the web IDE

    Uncaught Error: Invalid Service UUID: UUID string should only contain hex characters and dashes
    at line 25 col 2
    });

    I found the related following issue on github https://github.com/espruino/Espruino/iss­ues/1723.
    Do you think I could solve my problem using 4 integers UUID instead of a 128 bit UUID?
    I tried to look on the web how to convert it but I couldn't find an answer. How does UUID work? How do I convert from "ABCDABCD-ABCD-ABCD-ABCD-ABCDABCDABCD" to 0xABCD?

  • Mon 2020.12.07

    Hi @titaniumwhite I'm responding as I noticed your post arrived indicating a Time Zone near myself, and most that are likely to respond, wont be available until tomorrow. I'm not a wiz using GATT, but I did remember a forum post a while back that asked a similar question.

    @Gordon provided a specific example in post #13

    GATT service on RuuviTag

    and

    Handling of 32 and 128 bit uuids for BLE



    How to: 'Generate a UUID compliant with RFC 4122'

    https://www.cryptosys.net/pki/uuid-rfc41­22.html


    I Googled using the 'site' qualifier: 128 bit UUID site:forum.espruino.com

    which returns a bunch of references which may assist also. These may not answer your question directly, but I didn't want you spinning your wheels just waiting until sunrise. Hope you find some insight there. . . .

About

Avatar for Robin @Robin started