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

    Sipy BLE sniffing

    Scheduled Pinned Locked Moved LoPy
    2 Posts 2 Posters 27 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.
    • C Offline
      Calvin Foo
      last edited by

      Hi,

      Is three a way to quickly filter for known BLE devices? e.g. MAC ID etc?

      My current codes scans and found many BLE edevices (few thousands) and I only need 1 to 2 devices.
      My BLE devices are advertising every 1 min.
      Also, sometimes the BLE sniffer is not able to find my devices, maybe 2 out of 3 times can fine my devices?

      Thanks.

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jcaron @Calvin Foo
        last edited by

        @Calvin-Foo advertising every minute is quite uncommon for a BLE device. It usually ranges from about every 10 ms to a few seconds.

        Most BLE devices are not constantly scanning, they scan only during the scan window, every scan interval. Also, they scan on the 3 advertising bands in a cycle. Coupled with the risk of collision or interference, this means it’s unlikely any BLE device will ever hear all advertisements from another one.

        For this reason, its probably better if you reduce the advertising interval if you want to get advertisements relatively quickly.

        As for filtering I don’t think there’s any support for low level filtering in the Pycom firmware, it’s up to you to filter the list of advertisements received using any criteria you want.

        1 Reply Last reply Reply Quote 2

        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