Using BLE_Mesh examples
-
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.pyI'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
-
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