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 advertisement interval time

    Scheduled Pinned Locked Moved LoPy
    4 Posts 2 Posters 35 Views 2 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.
    • Y Offline
      yongyuan wang
      last edited by

      Hi,
      I am working on a project to capture the Bluetooth waveform sent from the Lopy4. I noticed that the advertisement interval time can be set manually
      2671b075-f425-4f90-8aed-063c3975232b-image.png
      This article says the fixed interval can be chosen from 20ms to 10.24s. However, I did not see any information about this in the documentation
      2476a095-6112-403f-8f06-7a0e69102146-image.png
      Could anyone tell me what the Bluetooth advertisement time interval is by default in Lopy4

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Antonis Gotsis @yongyuan wang
        last edited by

        @yongyuan-wang As mentioned in the set_advertisement documentation is somewhere in between 20 (adv_int_min) and 40 msec (adv_int_max)

        Y 1 Reply Last reply Reply Quote 1
        • Y Offline
          yongyuan wang @Antonis Gotsis
          last edited by

          @Antonis-Gotsis Thank you. I did not notice that before. However, I am curious why it is 20ms. I think 0x means It is hexadecimal? (adv_int_min=0x20)

          A 1 Reply Last reply Reply Quote 1
          • A Offline
            Antonis Gotsis @yongyuan wang
            last edited by

            @yongyuan-wang You should be right, so its between 32 and 64 msec

            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