Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Bluetooth BLE default advertising UUID

    Scheduled Pinned Locked Moved MicroPython
    2 Posts 1 Posters 1.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      TravisT
      last edited by

      When using code very similar to the example code (seen below), meaning not adding manufacturing data and service data.

      bluetooth.set_advertisement(name='LoPy', service_uuid=b'1234567890123456')
      

      The WiPy starts advertising and before I connect to it, this UUID appears, which does does not match anything I setup.

      93DC0A30-7C1A-4222-820E-65282E017BD

      My question is how does this get generated? I also do not see the Espressif manufacturer ID, which I would of assumed would be in the default UUID.

      741 0x02E5 Espressif Incorporated ( () )

      I am still pretty new to Bluetooth so I might not know what I am talking about. Can somebody help clarify where this UUID comes from, and how necessary is it to fill in the manufacturers data and service data on the advertisement packet?

      Thanks

      1 Reply Last reply Reply Quote 0
      • T Offline
        TravisT
        last edited by

        Also for extra reference as I try to piece this together here is what I am finding relevant code references.

        pycom modbt.c

        pycom-esp-idf, esp_gap_ble_api.c

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom