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

    Using BLE_Mesh examples

    Scheduled Pinned Locked Moved LoPy
    2 Posts 2 Posters 23 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.
    • E Offline
      Eric Bishop
      last edited by

      I'm new to BLE meshing and love the idea that pycom has examples to help jump start my research.
      https://docs.pycom.io/tutorials/networkprotocols/blemesh/

      However, I'm failing at the following line:

      $ BLE_Mesh = Bluetooth.BLE_Mesh
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      AttributeError: type object 'Bluetooth' has no attribute 'BLE_Mesh'
      $

      I'm assuming I'm missing a lib or running the incorrect version etc...

      My current info ->

      $sys.version
      '3.4.0'
      $sys.implementation
      (name='micropython', version=(1, 11, 0))
      $os.uname()
      (sysname='LoPy4', nodename='LoPy4', release='1.20.2.rc10', version='v1.11-a159dee on 2020-06-26', m)

      with the following libs added to LoPy:

      cayenneLPP.py
      L76GNSS.py
      LIS2HH12.py
      pycoproc.py
      pytrack.py

      I've searched the forum and website with only 2 hits of the string BLE_Mesh showing up.

      Please advise. Any help is greatly appreciated.
      Eric

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gijs
        last edited by

        Have a look at this page: https://docs.pycom.io/pybytes/pymeshintegration/provisioning/
        You'll need to provision the Pymesh firmware to the device first

        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